You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- TODO: Remove when colorscheme has been updated
vim.api.nvim_set_hl(0, "@comment.todo", { link = "@text.todo" })
vim.api.nvim_set_hl(0, "@comment.note", { link = "@text.note" })
vim.api.nvim_set_hl(0, "@comment.warning", { link = "@text.warning" })
vim.api.nvim_set_hl(0, "@comment.error", { link = "@text.error" })
but it would be cool if it was in the colorscheme again.
I would make a PR, but don't really know if you want to keep the old capture groups as well for backwards compatibility?
Steps To Reproduce
Update nvim-treesitter to newest version
Install treesitter comments parser
See if TODO is highlighted in comments
Expected Behavior
TODO highlighted
Repro
No response
The text was updated successfully, but these errors were encountered:
Neovim version (nvim -v)
0.9
Operating system/version
Linux
Describe the bug
nvim-treesitter seem to have updated their capture groups for todo, wip, notes, etc in comments here: nvim-treesitter/nvim-treesitter@1ae9b0e
I fixed it locally with
but it would be cool if it was in the colorscheme again.
I would make a PR, but don't really know if you want to keep the old capture groups as well for backwards compatibility?
Steps To Reproduce
Expected Behavior
TODO highlighted
Repro
No response
The text was updated successfully, but these errors were encountered: