extensions/php/languages/php/injections.scm 🔗
@@ -7,3 +7,5 @@
(#set! injection.language "phpdoc"))
((heredoc_body) (heredoc_end) @injection.language) @injection.content
+
+((nowdoc_body) (heredoc_end) @injection.language) @injection.content
Ollie Beckwith created
We already have heredoc injection support, so this just extends it to also cover
[nowdoc](https://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.nowdoc).
extensions/php/languages/php/injections.scm | 2 ++
1 file changed, 2 insertions(+)
@@ -7,3 +7,5 @@
(#set! injection.language "phpdoc"))
((heredoc_body) (heredoc_end) @injection.language) @injection.content
+
+((nowdoc_body) (heredoc_end) @injection.language) @injection.content