changeset 6517:c1880025cb58

queries: Add 'not-eq' and 'not-match' predicates to TSQ highlights
author Michael Davis <mcarsondavis@gmail.com>
date Sun, 02 Feb 2025 16:37:50 -0500
parents 7c09ef996f09
children 0d383aa908d0
files runtime/queries/tsq/highlights.scm
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/queries/tsq/highlights.scm	Sun Feb 02 16:23:52 2025 -0500
+++ b/runtime/queries/tsq/highlights.scm	Sun Feb 02 16:37:50 2025 -0500
@@ -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