corneliusio / svelte-sublime

💡Sublime Text syntax highlighting for Svelte components
MIT License
59 stars 6 forks source link

Add style:property and @const #24

Closed istudyatuni closed 2 years ago

istudyatuni commented 2 years ago

Resolve #23

I don't know, how to do this:

{@const} is only allowed as direct child of {#each}, {:then}, {:catch}, <Component /> or <svelte:fragment />.

ArtskydJ commented 2 years ago

I don't know, how to do this:

{@const} is only allowed as direct child of {#each}, {:then}, {:catch}, <Component /> or <svelte:fragment />.

Highlighting {@const} everywhere seems reasonable to me.


I'd love to see this PR merged 🙂