This commit is contained in:
2023-04-04 12:09:23 +02:00
parent 433a218e91
commit ae2414113a
14 changed files with 316 additions and 105 deletions

View File

@ -0,0 +1,11 @@
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
map("n", "<leader>r", run, { noremap = true });
map("n", "<leader>p", preview, { noremap = true });