Vue Syntax Highlight
💡 Sublime Text syntax highlighting for single-file Vue components
Details
Installs
- Total 514K
- Win 288K
- Mac 150K
- Linux 75K
Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 21 | 30 | 38 | 43 | 9 | 16 | 32 | 30 | 31 | 29 | 31 | 11 | 15 | 32 | 39 | 26 | 28 | 39 | 23 | 13 | 20 | 19 | 24 | 42 | 29 | 19 | 12 | 26 | 26 | 28 | 41 | 24 | 15 | 17 | 27 | 35 | 28 | 28 | 34 | 20 | 22 | 34 | 36 | 35 | 42 | 24 |
Mac | 8 | 18 | 15 | 7 | 14 | 6 | 14 | 15 | 11 | 18 | 11 | 7 | 10 | 16 | 16 | 19 | 21 | 11 | 13 | 7 | 12 | 15 | 12 | 13 | 13 | 8 | 6 | 10 | 9 | 15 | 13 | 17 | 9 | 3 | 11 | 14 | 16 | 15 | 29 | 6 | 8 | 6 | 26 | 12 | 20 | 22 |
Linux | 6 | 5 | 7 | 11 | 7 | 9 | 11 | 9 | 9 | 10 | 10 | 11 | 9 | 14 | 8 | 8 | 6 | 7 | 20 | 1 | 9 | 14 | 10 | 10 | 14 | 7 | 2 | 10 | 5 | 9 | 9 | 5 | 9 | 2 | 19 | 14 | 9 | 6 | 5 | 3 | 6 | 6 | 10 | 8 | 6 | 12 |
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.