add some utils to nvim
This commit is contained in:
parent
30a074d5f3
commit
f8822b6255
4 changed files with 25 additions and 3 deletions
5
config/nvim/lua/aleidk/plugins/auto-pairs.lua
Normal file
5
config/nvim/lua/aleidk/plugins/auto-pairs.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
return {
|
||||||
|
"echasnovski/mini.pairs",
|
||||||
|
event = "VeryLazy",
|
||||||
|
opts = {},
|
||||||
|
}
|
||||||
15
config/nvim/lua/aleidk/plugins/comments.lua
Normal file
15
config/nvim/lua/aleidk/plugins/comments.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"echasnovski/mini.comment",
|
||||||
|
version = "*",
|
||||||
|
event = "VeryLazy",
|
||||||
|
opts = {
|
||||||
|
options = {
|
||||||
|
custom_commentstring = function()
|
||||||
|
return require("ts_context_commentstring.internal").calculate_commentstring()
|
||||||
|
or vim.bo.commentstring
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -23,9 +23,6 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
-- "gc" to comment visual regions/lines
|
|
||||||
{ "numToStr/Comment.nvim", opts = {} },
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"famiu/bufdelete.nvim",
|
"famiu/bufdelete.nvim",
|
||||||
config = nil,
|
config = nil,
|
||||||
|
|
|
||||||
5
config/nvim/lua/aleidk/plugins/surround.lua
Normal file
5
config/nvim/lua/aleidk/plugins/surround.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
return {
|
||||||
|
"echasnovski/mini.surround",
|
||||||
|
version = "*",
|
||||||
|
opts = {},
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue