From 382401020c47213b2ef0417e6e2567a37bf39a1d Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Sun, 2 Feb 2025 16:37:50 -0500 Subject: [PATCH] queries: Add 'not-eq' and 'not-match' predicates to TSQ highlights --- runtime/queries/tsq/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/queries/tsq/highlights.scm b/runtime/queries/tsq/highlights.scm index 856a1da6f..a7fd0b385 100644 --- a/runtime/queries/tsq/highlights.scm +++ b/runtime/queries/tsq/highlights.scm @@ -40,7 +40,7 @@ "#" @function.builtin name: (identifier) @function.builtin @_name type: (predicate_type) @function.builtin) - (#any-of? @_name "eq" "match" "any-of" "not-any-of" "is" "is-not" "not-same-line" "not-kind-eq" "set" "select-adjacent" "strip")) + (#any-of? @_name "eq" "not-eq" "match" "not-match" "any-of" "not-any-of" "is" "is-not" "not-same-line" "not-kind-eq" "set" "select-adjacent" "strip")) (predicate name: (identifier) @error) (capture) @label