queries: Add 'not-eq' and 'not-match' predicates to TSQ highlights

pull/9458/head
Michael Davis 2025-02-02 16:37:50 -05:00
parent 93fa990e56
commit 382401020c
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
"#" @function.builtin "#" @function.builtin
name: (identifier) @function.builtin @_name name: (identifier) @function.builtin @_name
type: (predicate_type) @function.builtin) 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) (predicate name: (identifier) @error)
(capture) @label (capture) @label