.dotfiles/global/.config/nvim/lua/plugins/comment.lua
foozzi 2c1ccaffd1 Refactoring
- Added macos
2024-01-14 23:29:33 -05:00

17 lines
375 B
Lua

local config = function()
require("ts_context_commentstring").setup({
enable_autocmd = false,
})
require("Comment").setup({
pre_hook = require("ts_context_commentstring.integrations.comment_nvim").create_pre_hook(),
})
end
return {
"numToStr/Comment.nvim",
opts = config,
lazy = false,
dependencies = {
{ "JoosepAlviste/nvim-ts-context-commentstring" },
},
}