mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 00:10:04 -04:00
fix(comments)!: consolidate note captures
Distinguishing `hint` and `info` is too confusing; it's enough to have `error`, `warning`, `todo`, and `note`.
This commit is contained in:
parent
64b3d5e569
commit
5cc5627487
4 changed files with 9 additions and 10 deletions
|
|
@ -4,10 +4,10 @@
|
|||
(user) @constant
|
||||
")" @punctuation.bracket)?
|
||||
":" @punctuation.delimiter)
|
||||
(#any-of? @comment.todo "TODO" "WIP"))
|
||||
(#any-of? @comment.todo "TODO" "WIP" "FIXME"))
|
||||
|
||||
("text" @comment.todo @nospell
|
||||
(#any-of? @comment.todo "TODO" "WIP"))
|
||||
(#any-of? @comment.todo "TODO" "WIP" "FIXME"))
|
||||
|
||||
((tag
|
||||
(name) @comment.note @nospell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue