mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
||||
("(" @punctuation.bracket (user) @constant ")" @punctuation.bracket)?
|
||||
":" @punctuation.delimiter)
|
||||
(#eq? @text.todo "TODO" "WIP"))
|
||||
(#any-of? @text.todo "TODO" "WIP"))
|
||||
|
||||
("text" @text.todo @nospell
|
||||
(#eq? @text.todo "TODO" "WIP"))
|
||||
(#any-of? @text.todo "TODO" "WIP"))
|
||||
|
||||
((tag
|
||||
(name) @text.note @nospell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue