Vue Syntax Highlight
💡 Sublime Text syntax highlighting for single-file Vue components
Details
Installs
- Total 520K
- Win 291K
- Mac 152K
- Linux 77K
Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 11 | 30 | 21 | 18 | 13 | 11 | 13 | 19 | 15 | 18 | 14 | 22 | 13 | 11 | 11 | 32 | 26 | 27 | 24 | 11 | 9 | 23 | 34 | 27 | 19 | 15 | 7 | 21 | 26 | 27 | 25 | 18 | 14 | 14 | 16 | 24 | 27 | 31 | 17 | 17 | 10 | 6 | 26 | 27 | 19 | 28 |
Mac | 5 | 12 | 7 | 13 | 12 | 6 | 4 | 11 | 10 | 15 | 8 | 14 | 6 | 6 | 9 | 11 | 13 | 16 | 8 | 9 | 1 | 13 | 16 | 9 | 15 | 9 | 2 | 6 | 16 | 13 | 12 | 12 | 10 | 3 | 8 | 11 | 16 | 9 | 17 | 13 | 6 | 4 | 12 | 11 | 21 | 16 |
Linux | 1 | 9 | 9 | 7 | 7 | 7 | 5 | 14 | 10 | 11 | 12 | 7 | 10 | 4 | 9 | 4 | 7 | 12 | 9 | 8 | 6 | 11 | 13 | 7 | 7 | 7 | 2 | 6 | 6 | 12 | 8 | 4 | 9 | 2 | 7 | 10 | 10 | 7 | 10 | 12 | 8 | 4 | 6 | 11 | 12 | 9 |
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.