Closed greg-grigorjevs closed 2 weeks ago
Hi, can I have the code excerpt?
The injection and highlighting are all taken care of by tree-sitter-php
and tree-sitter-php_only
. So technically the syntax highlighting should be the same.
Unless of course there are parsing error by tree-sitter-blade
which I can have a look.
I'll close this issue for now as it appears to be stale. However, please feel free to reopen it if the problem persists.
Hi, I am using livewire Volt class based components.
Here's how the highlighting looks like when the filetype is set to blade:
And here how it looks like when the filetype is set to php:
I would like to know if there is a way to extend the blade/injections.scm file in a way so that:
<?php ?>
has the same highlighting as when the filetype is set to phpThank you