diff options
Diffstat (limited to 'runtime/queries/tsq/injections.scm')
-rw-r--r-- | runtime/queries/tsq/injections.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/queries/tsq/injections.scm b/runtime/queries/tsq/injections.scm index 321c90ad..64404557 100644 --- a/runtime/queries/tsq/injections.scm +++ b/runtime/queries/tsq/injections.scm @@ -1,2 +1,8 @@ ((comment) @injection.content (#set! injection.language "comment")) + +((predicate + (predicate_name) @_predicate + (string) @injection.content) + (#eq? @_predicate "#match?") + (#set! injection.language "regex")) |