Sublime Text Syntax highlighting for Svelte components.
Svelte
.Packages
folder.<script lang="typescript"></script>
<!-- or -->
<script type="text/typescript"></script>
or
<script lang="ts"></script>
<!-- or -->
<script type="text/ts"></script>
<script lang="coffeescript"></script>
<!-- or -->
<script type="text/coffeescript"></script>
<script lang="livescript"></script>
<!-- or -->
<script type="text/livescript"></script>
<script lang="babel"></script>
<!-- or -->
<script type="text/babel"></script>
<style lang="sass"></style>
<!-- or -->
<style type="text/sass"></style>
<style lang="scss"></style>
<!-- or -->
<style type="text/scss"></style>
<style lang="less"></style>
<!-- or -->
<style type="text/less"></style>
<style lang="stylus"></style>
<!-- or -->
<style type="text/stylus"></style>
<style lang="postcss"></style>
<!-- or -->
<style type="text/postcss"></style>
NOTE: You still need to install corresponding packages for pre-processors (e.g. SASS, Typescript) to get proper syntax highlighting for them.
Huge thanks to the Vue.js folks for their Vue Syntax Highlight package from which a ton of solutions for this package came.
And, obviously, the biggest thanks to Rich Harris for making something as awesome as Svelte.