Vue Syntax Highlight
💡 Sublime Text syntax highlighting for single-file Vue components
Details
Installs
- Total 505K
- Win 283K
- Mac 148K
- Linux 74K
Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 6 | 14 | 40 | 32 | 31 | 30 | 31 | 21 | 18 | 30 | 43 | 36 | 47 | 35 | 14 | 17 | 34 | 36 | 30 | 35 | 37 | 16 | 21 | 38 | 32 | 26 | 36 | 35 | 21 | 20 | 39 | 43 | 44 | 27 | 32 | 16 | 19 | 38 | 44 | 38 | 39 | 43 | 9 | 25 | 35 | 40 |
Mac | 3 | 9 | 13 | 14 | 15 | 18 | 20 | 5 | 13 | 20 | 15 | 22 | 15 | 21 | 8 | 10 | 17 | 12 | 24 | 13 | 15 | 13 | 10 | 12 | 14 | 18 | 14 | 13 | 10 | 11 | 10 | 19 | 16 | 20 | 13 | 3 | 15 | 18 | 22 | 13 | 22 | 16 | 7 | 11 | 10 | 16 |
Linux | 6 | 4 | 12 | 16 | 12 | 9 | 11 | 11 | 14 | 8 | 8 | 8 | 8 | 9 | 7 | 9 | 12 | 10 | 12 | 13 | 10 | 9 | 9 | 11 | 12 | 17 | 9 | 9 | 4 | 3 | 10 | 9 | 10 | 19 | 11 | 1 | 11 | 9 | 13 | 10 | 14 | 9 | 3 | 12 | 18 | 13 |
Readme
Vue Syntax Highlight
Note: The master
branch hosts the tmLanguage
based implementation that is distributed to Sublime Text build < 3153. It is also used to power GitHub's syntax highlight of *.vue
files in linguist.
For a newer implementation of the syntax that is distributed to build >=3153, See the new branch.
Sublime Text Syntax highlighting for single-file Vue.js components (enabled by vue-loader or vueify).
Install
- Via Package Control: search for
Vue Syntax Highlight
. - Manual: clone this repo into your Sublime
Packages
folder.
Additional Installation Requirements: In order to get proper syntax highlighting for pre-processors (e.g. Jade, SASS, CoffeeScript) you will also need to install the corresponding packages for each of them.
Enabling JSX Highlighting
The <script>
block uses the syntax highlighting currently active for you normal .js
files. To support JSX highlighting inside Vue files, just set Babel javascript highlighting package, which supports JSX, as your default JS highlighting. Note you may need to explicitly disable Sublime's default JavaScript
package to make it work.