PHP in Antlers incorrect highlight
venux92 opened this issue · comments
venux92 commented
Describe the bug
If you add some PHP into an antlers.html
file the highlight is incorrect.
It's misleading because you feel you have some issue but the file works correctly.
OS:
- Mac
- Linux
- Windows
Jetbrains Product:
- PhpStorm
- IntelliJ
IDE Version:
- [PS-232.10227.13]
Plugin Version:
- [0.0.6]
To Reproduce
Go to https://statamic.dev/antlers#syntax
Copy the example code
<a href="{{$ route('account.register') $}}">Register for a new account</a>
Expected behavior
Should keep the correct highlight as if we are using variables
{{ variable }}
Potsky commented