diff options
author | Leonardo EugĂȘnio | 2024-03-17 23:07:09 +0000 |
---|---|---|
committer | GitHub | 2024-03-17 23:07:09 +0000 |
commit | d99b6177c21df836c80cc60a500c73d64a7f9bfd (patch) | |
tree | db329bf47f070daa3b16a10648a7c943fe53c01a /runtime/queries/php-only/injections.scm | |
parent | eead105f94c552259cdbf1f572d047cbabb24c49 (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/php-only/injections.scm')
-rw-r--r-- | runtime/queries/php-only/injections.scm | 10 |
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) |