neovim-config/lua/plugins/rest-nvim.lua
2023-01-31 01:35:31 -05:00

8 lines
436 B
Lua

require('rest-nvim').setup({
skip_ssl_verification = true,
})
vim.keymap.set('n', '<leader>rd', [[<Plug>RestNvim]], { noremap = false, silent = true, desc = "Run rest.nvim under cursor" })
vim.keymap.set('n', '<leader>ry', [[<Plug>RestNvimPreview]], { noremap = false, silent = true, desc = "Show cURL command for rest.nvim under cursor"})
vim.keymap.set('n', '<leader>ri', [[<Plug>RestNvimLast]], { noremap = false, silent = true })