more neovim plugins

This commit is contained in:
Mark Riedesel 2024-06-20 08:19:09 -05:00
parent bbf6641115
commit ef84f5b008
10 changed files with 81 additions and 18 deletions

View file

@ -0,0 +1,15 @@
return {
"numToStr/Comment.nvim",
event = { "BufReadPre", "BufNewFile" },
dependencies = {
"JoosepAlviste/nvim-ts-context-commentstring",
},
config = function ()
-- <leader>cc
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,
}