Treesitter not parsing TODO comments correctly

I’ve had this issue for awhile now and can’t seem to find any good solutions for it. When treesitter parses comments, it doesn’t highlight words like TODO, FIXME, NOTE like normal nvim syntax highlighting does. Diving into the treesitter playground, it indeed seems like all comments are the same:

I’ve verified that I have a separate highlight group for TODO:

Does anyone have any suggestions on how to fix this?

are you using the comment parser? e.g. :TSInstall comment?

Didn’t know that was a thing! Thanks for the easy solution!

1 Like