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

  • 4.1.0
    3.3.6
    3.2.5
  • github.​com
  • github.​com
  • 1 year ago
  • 3 minutes ago
  • 9 years ago

Installs

  • Total 512K
  • Win 287K
  • Mac 150K
  • Linux 75K
Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17
Windows 4 25 26 31 42 24 12 19 27 38 14 42 21 17 14 15 17 14 19 15 12 32 10 19 25 20 24 33 12 29 19 29 20 28 10 22 25 34 23 25 25 31 28 27 23 30
Mac 2 13 13 16 16 15 8 5 14 22 27 17 16 8 17 15 14 12 9 7 8 6 2 16 21 6 14 12 5 16 18 9 13 19 5 9 13 21 18 23 14 5 6 11 17 15
Linux 2 10 10 8 11 10 5 11 12 16 6 8 10 6 9 10 9 13 11 6 6 7 7 10 11 10 10 8 11 14 9 13 7 5 4 6 10 7 8 14 8 10 7 4 9 12

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