mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
fix(comment): use #any-of? predicate
This commit is contained in:
parent
150a4c9fa4
commit
1b9f704eb8
1 changed files with 2 additions and 2 deletions
|
|
@ -4,10 +4,10 @@
|
||||||
(name) @text.todo @nospell
|
(name) @text.todo @nospell
|
||||||
("(" @punctuation.bracket (user) @constant ")" @punctuation.bracket)?
|
("(" @punctuation.bracket (user) @constant ")" @punctuation.bracket)?
|
||||||
":" @punctuation.delimiter)
|
":" @punctuation.delimiter)
|
||||||
(#eq? @text.todo "TODO" "WIP"))
|
(#any-of? @text.todo "TODO" "WIP"))
|
||||||
|
|
||||||
("text" @text.todo @nospell
|
("text" @text.todo @nospell
|
||||||
(#eq? @text.todo "TODO" "WIP"))
|
(#any-of? @text.todo "TODO" "WIP"))
|
||||||
|
|
||||||
((tag
|
((tag
|
||||||
(name) @text.note @nospell
|
(name) @text.note @nospell
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue