I've long relied on highlighting TODO
and FIXME
to make these markers stand out.
Recent versions of tree sitter handle this natively, but XXX
is highlighted in a colour that doesn't stand out (and makes me sometimes miss these when re-factoring code).
This is currently handled here: https://github.com/nvim-treesitter/nvim-treesitter/blob/8ec9a50965ccd34d504db86f09c580edfcff0c0f/queries/comment/highlights.scm#L18-L19