diff --git a/queries/injections.scm b/queries/injections.scm index 16d5736b..81899b50 100644 --- a/queries/injections.scm +++ b/queries/injections.scm @@ -1,3 +1,14 @@ ((text) @injection.content (#set! injection.language "html") (#set! injection.combined)) + +((comment) @injection.content + (#set! injection.language "phpdoc")) + +(heredoc + (heredoc_body) @injection.content + (heredoc_end) @injection.language) + +(nowdoc + (nowdoc_body) @injection.content + (heredoc_end) @injection.language)