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 syncWhat it adds
| Surface | Contribution |
|---|---|
| Plugin | folke/todo-comments.nvim |
| Dependencies | plenary.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:TodoSnacksSome commands depend on the matching picker or Trouble plugin also being
available. :TodoQuickFix works without enabling another Blak extra.