From 1b9f704eb8664508749a1164d4086e47f9afa77f Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Fri, 16 Jun 2023 14:11:10 -0500 Subject: [PATCH] fix(comment): use #any-of? predicate --- queries/comment/highlights.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/queries/comment/highlights.scm b/queries/comment/highlights.scm index c0e1df308..2f76708db 100644 --- a/queries/comment/highlights.scm +++ b/queries/comment/highlights.scm @@ -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