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 516K
  • Win 289K
  • Mac 151K
  • Linux 76K
Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8
Windows 6 28 36 32 27 23 16 16 16 25 36 21 18 22 16 21 30 25 33 36 5 17 20 25 27 21 31 9 17 28 25 14 26 36 9 21 33 24 14 35 22 12 21 18 32 25
Mac 2 13 11 13 13 6 5 5 7 6 10 14 14 8 4 13 18 12 11 23 4 12 9 18 24 12 12 9 8 11 11 13 12 11 6 4 19 10 17 16 16 6 7 9 10 23
Linux 0 6 4 8 14 14 5 8 6 13 9 12 11 9 4 16 14 8 5 6 11 6 14 5 8 10 13 6 3 6 8 11 5 15 8 9 10 6 6 7 10 11 8 13 9 8

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.

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.

License

MIT