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:
parent
0cb41754e2
commit
79683ebcaa
1 changed files with 2 additions and 0 deletions
|
@ -7,3 +7,5 @@
|
|||
(#set! injection.language "phpdoc"))
|
||||
|
||||
((heredoc_body) (heredoc_end) @injection.language) @injection.content
|
||||
|
||||
((nowdoc_body) (heredoc_end) @injection.language) @injection.content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue