Files
.dotfiles/lua/plugin/todo-comments.lua
Quinn d69ca1091c Squashed 'etc/nvim/' content from commit 6da6d4f
git-subtree-dir: etc/nvim
git-subtree-split: 6da6d4ffb9395ebf9be5d2bfb578782cdd6de362
2025-12-26 11:35:16 +01:00

23 lines
519 B
Lua

---@module 'lazy'
---@type LazySpec
return { {
'folke/todo-comments.nvim', -- for highlighting TODO and stuff comments
event = 'VeryLazy',
dependencies = { 'nvim-lua/plenary.nvim' },
---@module 'todo-comments'
---@type TodoOptions
opts = {
signs = false,
colors = {
hint = { "Comment" }
},
},
config = function(_, opts)
local todo = require 'todo-comments'
todo.setup(opts)
Map('n', '<leader>st', '<cmd>TodoTelescope keywords=TODO,FIX,BUG,WARN<cr>',
{ desc = '[S]earch [T]odos]' })
end,
} }