| 123456789101112131415161718192021222324252627282930313233343536373839 |
- local M = {
- {
- "numToStr/Comment.nvim",
- dependencies = {
- "JoosepAlviste/nvim-ts-context-commentstring",
- event = "VeryLazy",
- },
- config = function()
- vim.g.skip_ts_context_commentstring_module = true
- require("ts_context_commentstring").setup({
- enable_autocmd = false,
- })
- require("Comment").setup({
- pre_hook = require("ts_context_commentstring.integrations.comment_nvim").create_pre_hook(),
- opleader = {
- line = "gc",
- block = "gC",
- },
- mappings = {
- basic = true,
- },
- })
- end,
- },
- {
- "folke/todo-comments.nvim",
- config = function()
- require("todo-comments").setup({
- keywords = {
- FUCK = { icon = " ", color = "error" },
- SHITTY = { icon = " ", color = "error" },
- },
- })
- end,
- },
- }
- return M
|