add some utils to nvim
This commit is contained in:
parent
30a074d5f3
commit
f8822b6255
4 changed files with 25 additions and 3 deletions
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,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue