folke / todo-comments.nvim

✅ Highlight, list and search todo comments in your projects
Apache License 2.0
3.16k stars 89 forks source link

todo-comments not highlighting keywords #81

Closed ninjarogue closed 2 months ago

ninjarogue commented 2 years ago

this plugin isn't highlighting my keywords. When I add a comment with the keyword included, the color of the text will change, but the keyword itself will not highlight. Even with the default configurations, the keyword highlighting feature doesn't work.

I'm using the latest version of iTerm2, Neovim and tmux on a MAC-Mini MacOS Apple M1

Here is my configuration: https://github.com/ninjarogue/.dotfiles/blob/master/lua/plugins/todo-comments.lua

zmingee commented 2 years ago

I was just having a similar issue, in that the keywords weren't being highlighted at all. I was able to fix it by installing the parser for "comments" in treesitter with:

:TSInstall comment

Afterwards, keywords were highlighted as expected. Maybe it will work for you.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 2 months ago

This issue was closed because it has been stalled for 7 days with no activity.