Skip to content

TODO Comments Extra

editor.todo-comments installs todo-comments.nvim to highlight and collect TODO, FIX, HACK, NOTE, and related comment markers.

Enable it

return {
extras = {
enabled = {
"editor.todo-comments",
},
},
}

Because this extra adds a plugin, run:

:BlakExtras sync

What it adds

SurfaceContribution
Pluginfolke/todo-comments.nvim
Dependenciesplenary.nvim
Keymap]t jumps to the next TODO comment
Keymap[t jumps to the previous TODO comment
Keymap<leader>xT opens TODO comments in the quickfix list

The keymaps appear in :BlakKeys.

Use it

:TodoQuickFix
:TodoLocList
:TodoTrouble
:TodoTelescope
:TodoFzfLua
:TodoSnacks

Some commands depend on the matching picker or Trouble plugin also being available. :TodoQuickFix works without enabling another Blak extra.