Add smartcolumn and rest-nvim
This commit is contained in:
21
lua/plugins/rest.lua
Normal file
21
lua/plugins/rest.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
return {
|
||||
"rest-nvim/rest.nvim",
|
||||
ft = "http",
|
||||
dependencies = { { "nvim-lua/plenary.nvim" } },
|
||||
keys = {
|
||||
{
|
||||
"<leader>hr",
|
||||
function()
|
||||
require("rest-nvim").run()
|
||||
end,
|
||||
desc = "Run HTTP request under cursor",
|
||||
},
|
||||
{
|
||||
"<leader>hp",
|
||||
function()
|
||||
require("rest-nvim").run(true)
|
||||
end,
|
||||
desc = "Preview HTTP request under cursor",
|
||||
},
|
||||
},
|
||||
}
|
||||
7
lua/plugins/smartcolumn.lua
Normal file
7
lua/plugins/smartcolumn.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
return {
|
||||
"m4xshen/smartcolumn.nvim",
|
||||
opts = {
|
||||
disabled_filetypes = { "help", "text", "markdown", "dashboard" },
|
||||
colorcolumn = "120",
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user