feat: add the php_only parser included in tree-sitter-php (#5876)

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>
This commit is contained in:
tk-shirasaka 2024-01-20 21:34:49 +09:00 committed by GitHub
parent a8fa3047b5
commit 64b3d5e569
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 574 additions and 557 deletions

View file

@ -446,6 +446,9 @@
"php": {
"revision": "b569a5f2c0d592e67430520d1a0e1f765d83ceb0"
},
"php_only": {
"revision": "b569a5f2c0d592e67430520d1a0e1f765d83ceb0"
},
"phpdoc": {
"revision": "915a527d5aafa81b31acf67fab31b0ac6b6319c0"
},