feat(nvim): add rest nvim

This commit is contained in:
Price Hiller 2023-09-27 18:30:42 -05:00
parent 362771dcd0
commit e7fa1ef699
No known key found for this signature in database
2 changed files with 14 additions and 2 deletions

View File

@ -7,5 +7,4 @@ vim.keymap.set("n", "<leader>fp", "<Plug>RestNvimPreview", {
vim.keymap.set("n", "<leader>fl", "<Plug>RestNvimLast", {
buffer = true,
})
vim.api.nvim_buf_set_option(0, "commentstring", "# %s")
vim.opt_local.commentstring = "# %s"

View File

@ -0,0 +1,13 @@
return {
{
"rest-nvim/rest.nvim",
ft = { "http" },
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter"
},
config = function ()
require("rest-nvim").setup({})
end
}
}