feat(nvim): add rest nvim
This commit is contained in:
parent
362771dcd0
commit
e7fa1ef699
@ -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"
|
||||
|
13
dots/.config/nvim/lua/plugins/configs/rest-nvim.lua
Normal file
13
dots/.config/nvim/lua/plugins/configs/rest-nvim.lua
Normal 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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user