1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00
helix/runtime/queries/blade/injections.scm
Emran Ramezan 702a96d417
Update highlights.scm and injections.scm for blade.php files (#11138)
* Update highlights.scm for blade.php files

* Update injections.scm to add tree-sitter-comment injection

* Fixed the injection issues  regarding blade parameters
2024-07-15 22:29:14 +09:00

15 lines
545 B
Scheme

((text) @injection.content
(#set! injection.combined)
(#set! injection.language "php"))
((comment) @injection.content
(#set! injection.language "comment"))
((php_only) @injection.content
(#set! injection.language "php-only"))
((parameter) @injection.content
(#set! injection.include-children)
(#set! injection.language "php-only"))