Closed johannesmutter closed 2 years ago
Adding to the original post, these items break the syntax coloring:
each
clauseThings still compile correctly, but it's quite disappointing to have to choose between using newer supported features or using long-hand syntax to maintain highlighting consistency.
@johannesmutter Perhaps you should update the title of this ticket to "Syntax highlighting broken for Svelte 3" so that it's more easily discoverable.
A new version of the package has just been released with a major update of Language Server, and a brand new grammar ported from the VSCode extension one.
These changes should solve the problems mentioned in this thread. The grammar is still freshly backed and might have some defect, so you're very welcome to open other issues if you encounter new problems.
In Svelte 3 syntax highlighting doesn’t work properly: