Neovim: Move todo comments into separate file

This commit is contained in:
Tony Grosinger 2024-05-31 15:16:49 -07:00
parent 95ef074764
commit e4c9c1426d
2 changed files with 17 additions and 3 deletions

View File

@ -785,9 +785,6 @@ require('lazy').setup({
end,
},
-- Highlight todo, notes, etc in comments
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
{ -- Collection of various small independent plugins/modules
'echasnovski/mini.nvim',
config = function()

View File

@ -0,0 +1,17 @@
-- Highlight todo, notes, etc in comments
-- https://github.com/folke/todo-comments.nvim
return {
'folke/todo-comments.nvim',
event = 'VimEnter',
dependencies = { 'nvim-lua/plenary.nvim' },
opts = {
signs = false,
},
keys = {
{
'<leader>st',
'<cmd>TodoTelescope<cr>',
desc = '[T]odo all files',
},
},
}