diff --git a/lua/plugins/todo.lua b/lua/plugins/todo.lua new file mode 100644 index 0000000..8abc915 --- /dev/null +++ b/lua/plugins/todo.lua @@ -0,0 +1,18 @@ +return { + 'folke/todo-comments.nvim', + dependencies = { 'nvim-lua/plenary.nvim' }, + config = function() + require('todo-comments').setup({ + signs = false, + highlight = { + before = '', -- Don't highlight before the match + keyword = 'fg', -- Only highlight the foreground + after = '', -- Don't highlight after the match + }, + colors = { + info = { '#489dff' }, + }, + }) + vim.keymap.set('n', 'gt', ':TodoTelescope', { remap = false }) + end +}