mirror of https://github.com/helix-editor/helix
queries: Add 'not-eq' and 'not-match' predicates to TSQ highlights
parent
93fa990e56
commit
382401020c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue