Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax highlighting broken for Svelte 3 #8

Closed
johannesmutter opened this issue Apr 2, 2020 · 3 comments
Closed

Syntax highlighting broken for Svelte 3 #8

johannesmutter opened this issue Apr 2, 2020 · 3 comments

Comments

@johannesmutter
Copy link

In Svelte 3 syntax highlighting doesn’t work properly:

Bildschirmfoto 2020-04-02 um 17 14 27

@the0neWhoKnocks
Copy link

Adding to the original post, these items break the syntax coloring:

Things 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.

svelte-broken-syntax-highlighting

@the0neWhoKnocks
Copy link

@johannesmutter Perhaps you should update the title of this ticket to "Syntax highlighting broken for Svelte 3" so that it's more easily discoverable.

@johannesmutter johannesmutter changed the title Is this still maintained? Syntax highlighting broken for Svelte 3 Dec 17, 2021
@rixo
Copy link
Contributor

rixo commented Feb 15, 2022

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.

@rixo rixo closed this as completed Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants