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

Vue Syntax Highlight

by vuejs ST2/ST3 Top 100

Sublime Text syntax highlighting for single-file Vue components

Details

Installs

  • Total 126K
  • Win 68K
  • OS X 43K
  • Linux 15K
Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 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
Windows 96 186 191 264 337 265 316 281 149 162 263 315 135 299 286 121 154 144 167 126 161 152 118 229 217 332 309 305 314 168 178 295 343 394 383 350 181 215 348 433 364 291 177 140 144 235
OS X 29 78 78 139 130 128 171 150 58 89 145 147 103 163 163 76 90 104 107 109 106 104 72 110 118 147 202 197 181 104 91 158 209 202 176 189 109 112 211 248 198 172 91 72 96 120
Linux 12 48 30 54 48 47 63 50 43 38 51 56 38 58 52 41 30 56 51 68 59 63 36 38 54 58 52 58 72 52 54 62 69 49 75 57 38 40 74 93 68 48 38 32 38 42

Readme

Source
raw.​githubusercontent.​com

Vue Syntax Highlight

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