ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Vue Syntax Highlight

by vuejs ALL Top 100

💡 Sublime Text syntax highlighting for single-file Vue components

Details

Installs

  • Total 359K
  • Win 203K
  • Mac 108K
  • Linux 49K
Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13
Windows 92 64 62 90 111 106 134 129 97 85 138 153 170 143 147 79 104 144 141 117 160 167 81 109 137 159 71 113 134 71 92 144 142 120 177 182 71 80 179 215 210 223 245 105 86 152
Mac 63 33 30 42 57 67 83 56 36 26 48 67 65 78 76 29 35 57 76 62 81 69 24 36 70 66 35 53 53 26 35 60 65 47 65 71 33 40 62 80 70 63 91 46 39 67
Linux 39 27 39 32 45 50 49 47 30 30 35 54 49 53 58 33 38 51 47 38 47 37 30 29 38 47 17 24 34 23 31 31 44 25 41 43 34 23 40 50 50 40 53 36 22 46

Readme

Source
raw.​githubusercontent.​com

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).

screenshot

Install

  • Via Package Control: search for Vue Syntax Highlight.
  • Manual: clone this repo into your Sublime Packages folder.

NOTE: You still need to install corresponding packages for pre-processors (e.g. Jade, SASS, CoffeeScript) to get proper syntax highlighting for 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.

License

MIT