aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/tsq/highlights.scm
diff options
context:
space:
mode:
authorMichael Davis2024-01-15 06:33:26 +0000
committerGitHub2024-01-15 06:33:26 +0000
commit3011df4f35e43f9f7690b236c85ab54f210c8b3a (patch)
tree494c62b061d19bbfb4c2ce68b3a5b57d7bea7d74 /runtime/queries/tsq/highlights.scm
parent445f7a273a27d74d8168eab7941dcb3479d31ebe (diff)
Bump tree-sitter to latest master (#9317)
* query capture names now return `&str`s rather than `String`s * the `#any-of?` predicate is now supported
Diffstat (limited to 'runtime/queries/tsq/highlights.scm')
-rw-r--r--runtime/queries/tsq/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/queries/tsq/highlights.scm b/runtime/queries/tsq/highlights.scm
index b59514bc..5ef6bf4c 100644
--- a/runtime/queries/tsq/highlights.scm
+++ b/runtime/queries/tsq/highlights.scm
@@ -41,7 +41,7 @@
(capture) @label
((predicate_name) @function
- (#match? @function "^#(eq\\?|match\\?|is\\?|is-not\\?|not-same-line\\?|not-kind-eq\\?|set!|select-adjacent!|strip!)$"))
+ (#any-of? @function "#eq?" "#match?" "#any-of?" "#not-any-of?" "#is?" "#is-not?" "#not-same-line?" "#not-kind-eq?" "#set!" "#select-adjacent!" "#strip!"))
(predicate_name) @error
(escape_sequence) @constant.character.escape