corneliusio / svelte-sublime

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

Support for Svelte 5 {#snippet} #30

Closed autr closed 7 months ago

autr commented 7 months ago

Hi - small update to add Svelte 5 snippets highlighting - also updated description to say 3 / 4 / 5 :)

corneliusio commented 7 months ago

@autr This looks fantastic, thanks for helping! One thing that needs to happen is for this change to actually be made in the Svelte.sublime-syntax.yaml-macros file and then rebuild Svelte.sublime-syntax using the YAML Macros package for Sublime Text. It's a bit clunky, but makes a lot of these embedded langs an repeated patterns so much easier to maintain.

Would you mind refactoring the PR to do this? If you don't feel comfortable with the workflow no worries, I can go ahead and do it myself.