fix(comment): use #any-of? predicate

This commit is contained in:
Santos Gallegos 2023-06-16 14:11:10 -05:00 committed by Christian Clason
parent 150a4c9fa4
commit 1b9f704eb8

View file

@ -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