nvim: add rest.nvim plugin

This commit is contained in:
2025-03-29 18:56:33 +01:00
parent d47467e161
commit 17997c0550
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
return {
{
"rest-nvim/rest.nvim",
dependencies = {
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
table.insert(opts.ensure_installed, "http")
end,
},
ft = 'http',
keys = {
{ '<leader>S', '<cmd>Rest run<CR>', ft = 'http' },
},
},
}