queries: Add 'not-eq' and 'not-match' predicates to TSQ highlights
This commit is contained in:
parent
93fa990e56
commit
382401020c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue