php: Add nowdoc language injection (#23532)

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).
This commit is contained in:
Ollie Beckwith authored and GitHub committed 2025-01-23 09:51:18 -05:00
1 parent 72ed834cd6
commit 5d18cdfbb9
1 file changed
+2
@@ -7,3 +7,5 @@
(#set! injection.language "phpdoc"))
((heredoc_body) (heredoc_end) @injection.language) @injection.content
((nowdoc_body) (heredoc_end) @injection.language) @injection.content