Something went wrong. Try again.
Postman-like nvim client
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930local M = {}
local _defaults = { margin = 2, width = 120, height = 30, border = "rounded", request_pane_width = "30%", response_pane_width = "70%",}
local _config = vim.tbl_deep_extend("force", {}, _defaults)
---Setup the plugin with options---@param opts table|nil Configuration optionsfunction M.setup(opts) opts = vim.tbl_deep_extend("force", _defaults, opts or {}) _config = vim.tbl_deep_extend("force", _config, opts)
require("rest.cmd").setup()end
---Get current configuration---@return tablefunction M.get_config() return _configend
return M