aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/blade/injections.scm
diff options
context:
space:
mode:
authorLeonardo EugĂȘnio2024-03-17 23:07:09 +0000
committerGitHub2024-03-17 23:07:09 +0000
commitd99b6177c21df836c80cc60a500c73d64a7f9bfd (patch)
treedb329bf47f070daa3b16a10648a7c943fe53c01a /runtime/queries/blade/injections.scm
parenteead105f94c552259cdbf1f572d047cbabb24c49 (diff)
Add blade support (#9513)
* Add php-only language config and queries php-only is required enabling php injections like in blade templates * Add blade templates support
Diffstat (limited to 'runtime/queries/blade/injections.scm')
-rw-r--r--runtime/queries/blade/injections.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/queries/blade/injections.scm b/runtime/queries/blade/injections.scm
new file mode 100644
index 00000000..4c636734
--- /dev/null
+++ b/runtime/queries/blade/injections.scm
@@ -0,0 +1,9 @@
+((text) @injection.content
+ (#set! injection.combined)
+ (#set! injection.language php))
+
+((php_only) @injection.content
+ (#set! injection.language php-only))
+((parameter) @injection.content
+ (#set! injection.language php-only))
+