mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-07-03 12:19:26 +00:00
[neovim] Reorganize plugins
This commit is contained in:
14
.config/nvim/lua/plugins/mini-comment.lua
Normal file
14
.config/nvim/lua/plugins/mini-comment.lua
Normal file
@ -0,0 +1,14 @@
|
||||
require("mini.comment").setup({
|
||||
options = {
|
||||
custom_commentstring = function()
|
||||
return require("ts_context_commentstring.internal").calculate_commentstring() or vim.bo.commentstring
|
||||
end,
|
||||
},
|
||||
|
||||
mappings = {
|
||||
comment = "<leader>/",
|
||||
comment_line = "<leader>/",
|
||||
comment_visual = "<leader>/",
|
||||
textobject = "<leader>/",
|
||||
},
|
||||
})
|
Reference in New Issue
Block a user