aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/php_only
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-06-24 14:33:45 +0200
committerChristian Clason <c.clason@uni-graz.at>2025-05-12 18:43:40 +0200
commitf13420ccff1dfca4a2e42c43f56f66b240dd1d2e (patch)
treefa402b473e4665f9529bf30e90d2293fd0e3cfcf /runtime/queries/php_only
parentfix: always normalize paths (diff)
downloadnvim-treesitter-f13420ccff1dfca4a2e42c43f56f66b240dd1d2e.tar
nvim-treesitter-f13420ccff1dfca4a2e42c43f56f66b240dd1d2e.tar.gz
nvim-treesitter-f13420ccff1dfca4a2e42c43f56f66b240dd1d2e.tar.bz2
nvim-treesitter-f13420ccff1dfca4a2e42c43f56f66b240dd1d2e.tar.lz
nvim-treesitter-f13420ccff1dfca4a2e42c43f56f66b240dd1d2e.tar.xz
nvim-treesitter-f13420ccff1dfca4a2e42c43f56f66b240dd1d2e.tar.zst
nvim-treesitter-f13420ccff1dfca4a2e42c43f56f66b240dd1d2e.zip
fix: remove upstreamed directives
`#inject-lang!` and `#trim!`; fix `set-lang-from-mimetype`
Diffstat (limited to 'runtime/queries/php_only')
-rw-r--r--runtime/queries/php_only/injections.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/queries/php_only/injections.scm b/runtime/queries/php_only/injections.scm
index 368177643..42ee2d67d 100644
--- a/runtime/queries/php_only/injections.scm
+++ b/runtime/queries/php_only/injections.scm
@@ -4,14 +4,12 @@
(heredoc
(heredoc_body) @injection.content
(heredoc_end) @injection.language
- (#set! injection.include-children)
- (#downcase! @injection.language))
+ (#set! injection.include-children))
(nowdoc
(nowdoc_body) @injection.content
(heredoc_end) @injection.language
- (#set! injection.include-children)
- (#downcase! @injection.language))
+ (#set! injection.include-children))
; regex
((function_call_expression