GitXplorerGitXplorer
v

vue-syntax-highlight

public
1484 stars
233 forks
30 issues

Commits

List of commits on branch master.
Unverified
5c2b5afbb3e71c87aca1eda626edbb4506571072

use newer screenshot

yyyx990803 committed 7 years ago
Unverified
473fb79450f08349b822de5d4a8ed53301875a25

readme

yyyx990803 committed 7 years ago
Unverified
de58cf865217c5b4d0af72d03c3f427fda031470

add samples

yyyx990803 committed 7 years ago
Unverified
52a41f4074135f92ad52d93aad008b7d59d20894

add support for script tag type text/ecmascript (#100)

llauigi committed 7 years ago
Unverified
f87459fc1bf26a4b8e50e232757d4682892c971d

Prevent mixing single & double quotes (#92)

wwopian committed 7 years ago
Unverified
07d75b8bfd1ad5a13da7827f65b45dd446cae830

Add support for single quotes for embedded languages (#88)

GGeorgeSG committed 7 years ago

README

The README file for this repository.

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