You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I took a quick look into this. Seems it will be slightly more complex than I expected as the syntax grammer doesn't support new lines in the "begin" capture. So will need something a bit more involved.
But it's about chaining on new lines. What about structs? Any chance for a quick fix?
As I see it, highlighting reacts on parenthesis - if there's none it doesn't work.
SomeFunc() {} <- that works
SomeStruct{} {} <- that doesn't.
Code highlighting breaks when using structs or chaining functions.
Here is an example:
templ-vscode v0.0.30
templ v0.3.819
The text was updated successfully, but these errors were encountered: