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
{{ message }}
Repository navigation
Assigning class field without semicolon breaks template highlighting #18
There seems to be an issue with gjs files in a specific scenario:
When assigning a class field without using a semicolon and adding a <template> tag makes the whole template not be detected:
(we are assigning setup without a semicolon, the whole template does not get recognised)
(same thing but with the semicolon, template get highlighted)
This goes to some disturbing extent on multi-component files:
(in this file with two components, beyond the two templates' contents, the white-washed section also swallows all of the JS content from the second component)
does the runtime work without semicolons? I thought they were required 🤔
if they happen to not be required, want to take a stab at adding a lack of semi-colon support?
Activity
NullVoxPopuli commentedon May 1, 2026
does the runtime work without semicolons? I thought they were required 🤔
if they happen to not be required, want to take a stab at adding a lack of semi-colon support?
NullVoxPopuli commentedon May 1, 2026
at the very least it seems some error recovery is needed
andsmedeiros commentedon May 7, 2026
Key @NullVoxPopuli, I got a PR for this. I got claude to work the issue with guidance, tests are OK.
andsmedeiros commentedon May 21, 2026
Fixed by #19