Files
dotfiles/.config/nvim/lua/plugins/comment.lua
T
cdanesi 28c75e157a migrate from packer to lazy
most of my config has been carried over, still need to do colorizer
and markdown.

added a few new plugins, based off of josean's 2024 video
2024-10-31 16:45:27 -04:00

17 lines
431 B
Lua

return {
"numToStr/Comment.nvim",
event = { "BufReadPre", "BufNewFile" },
dependencies = {
"JoosepAlviste/nvim-ts-context-commentstring",
},
config = function()
local comment = require("Comment")
local ts_context_commentstring = require("ts_context_commentstring.integrations.comment_nvim")
comment.setup({
pre_hook = ts_context_commentstring.create_pre_hook(),
})
end,
}