aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/php-only/injections.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/php-only/injections.scm')
-rw-r--r--runtime/queries/php-only/injections.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/queries/php-only/injections.scm b/runtime/queries/php-only/injections.scm
new file mode 100644
index 00000000..75150f71
--- /dev/null
+++ b/runtime/queries/php-only/injections.scm
@@ -0,0 +1,10 @@
+((comment) @injection.content
+ (#set! injection.language "comment"))
+
+(heredoc
+ (heredoc_body) @injection.content
+ (heredoc_end) @injection.language)
+
+(nowdoc
+ (nowdoc_body) @injection.content
+ (heredoc_end) @injection.language)