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 2025-01-23 14:51:18 +00:00 committed by GitHub
parent 0cb41754e2
commit 79683ebcaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,3 +7,5 @@
(#set! injection.language "phpdoc"))
((heredoc_body) (heredoc_end) @injection.language) @injection.content
((nowdoc_body) (heredoc_end) @injection.language) @injection.content