return { 'todo-comments.nvim', event = { 'BufReadPost', 'BufWritePost', 'BufNewFile' }, cmd = { 'TodoTrouble', 'TodoTelescope' }, keys = { { 'st', 'TodoTelescope', desc = 'todo search' }, { 'sT', 'TodoTelescope keywords=TODO,FIX,FIXME', desc = 'todo/fix/fixme search', }, { 'xt', 'Trouble todo toggle', desc = 'todo' }, { 'xT', 'Trouble todo toggle filter = {tag = {TODO,FIX,FIXME}}', desc = 'todo/fix/fixme', }, { ']t', function() require('todo-comments').jump_prev() end, desc = 'previous todo', }, { ']t', function() require('todo-comments').jump_next() end, desc = 'next todo', }, }, before = function() require('lz.n').trigger_load({ 'trouble.nvim' }) end, after = function() require('todo-comments').setup({}) end, }