aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/awk
diff options
context:
space:
mode:
authorath32022-08-24 21:14:56 +0000
committerGitHub2022-08-24 21:14:56 +0000
commit0a22148559d6db831aba0241c1f92cef80201e8a (patch)
tree841d67ed8323d93d25f103d39b4549c66f87e5c3 /runtime/queries/awk
parent45add73fb1d2c4f2b0c544117c2d83b7081a2a4a (diff)
AWK Regex injection (#3535)
Diffstat (limited to 'runtime/queries/awk')
-rw-r--r--runtime/queries/awk/injections.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/queries/awk/injections.scm b/runtime/queries/awk/injections.scm
index 321c90ad..12302f61 100644
--- a/runtime/queries/awk/injections.scm
+++ b/runtime/queries/awk/injections.scm
@@ -1,2 +1,5 @@
((comment) @injection.content
(#set! injection.language "comment"))
+
+((regex_pattern) @injection.content
+ (#set! injection.language "regex"))