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 431K
  • Win 243K
  • Mac 127K
  • Linux 62K
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 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2
Windows 89 94 97 109 88 49 62 100 89 99 95 65 64 50 93 102 95 97 97 57 66 87 97 106 94 113 41 64 95 94 109 111 111 58 72 99 80 106 91 103 53 65 90 87 121 97
Mac 28 50 51 46 45 26 34 51 44 52 46 36 13 19 42 56 57 49 43 31 37 44 41 46 46 44 28 28 41 37 49 64 46 27 28 40 49 44 44 53 18 23 36 45 44 44
Linux 19 33 19 18 30 18 25 19 23 33 29 22 15 21 26 30 26 32 24 12 29 26 40 28 24 26 18 23 21 25 26 33 35 26 22 35 25 26 26 27 21 14 39 25 28 36

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