Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

php: Add nowdoc language injection (#23532)

Ollie Beckwith79683ebcaa60
diff --git a/extensions/php/languages/php/injections.scm b/extensions/php/languages/php/injections.scm
index fdf5559130d..657145c13f6 100644
--- a/extensions/php/languages/php/injections.scm
+++ b/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