2023-04-04 12:09:23 +02:00
|
|
|
local map = vim.api.nvim_set_keymap;
|
|
|
|
local function run(verbose)
|
|
|
|
return require("rest-nvim").run(verbose);
|
|
|
|
end
|
|
|
|
|
|
|
|
local preview = function()
|
|
|
|
return run(true)
|
|
|
|
end
|
|
|
|
|
2023-06-08 01:18:31 +02:00
|
|
|
-- map("n", "<leader>r", run, { noremap = true });
|
|
|
|
-- map("n", "<leader>p", preview, { noremap = true });
|