Closed przepompownia closed 7 months ago
Looks like copy-paste (because of the same parser). What do you propose to avoid duplication?
Thanks for the PR! Please add
php_only
to the languages section of README.md and create test files like for regularphp
.
Looks like copy-paste (because of the same parser). What do you propose to avoid duplication?
If it's just a copy and paste, you don't need to.
Does php_only
and php
have the same file extension?
If so, let me know and I'll merge the PR.
If I understand correctly, php_only
does not include injections for HTML - look at the queries in nvim-treesitter.
Yes, both are for php
although I need to call
vim.treesitter.language.register('php_only', {'php'})
from my configs.
Thanks!
Thanks for the PR! Please add
php_only
to the languages section of README.md and create test files like for regularphp
.More about tests here.