Closed fadrian06 closed 8 months ago
It is likely we just need to ignore the arrows. Please post in a code block an example in plain text (not an image) that we can test with. Also, please note what syntax you are using for PHP highlighting. Is it the built-in one? Or are you using a 3rd party library? If so, please link the 3rd party library.
oh thanks for reply it..
sure, the snippet is
Route::get('/', fn () => view('welcome'));
The color scheme is Ayu variant Dark. The PHP syntax is the built in with Sublime Text v4-4169
We had this properly supported before IIRC, but syntax files get refactored all the time, changing scope names. Such changes can break us. So, thanks for reporting. A PR is up that should fix it.
Support for PHP 7.4 short function syntax
... I lost parentheses matching when I use PHP 7.4 arrow function syntax ?