mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
Add parser `php_only` for PHP files without HTML embedded. Make queries for combined parser `php` inherit from `php_only` (no extensions needed). --------- Co-authored-by: shirasaka <tk.shirasaka@gmail>
4 lines
114 B
Scheme
4 lines
114 B
Scheme
; inherits: php_only
|
|
((text) @injection.content
|
|
(#set! injection.language "html")
|
|
(#set! injection.combined))
|