vue-syntax-highlight

? Sublime Text syntax highlighting for single-file Vue components

  • Owner: vuejs/vue-syntax-highlight
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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.

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

Main metrics

Overview
Name With Ownervuejs/vue-syntax-highlight
Primary Language
Program language (Language Count: 0)
Platform
License:MIT License
所有者活动
Created At2014-11-17 19:45:30
Pushed At2023-10-30 07:25:41
Last Commit At2020-12-08 12:09:25
Release Count38
Last Release Namest4-4.1.0 (Posted on )
First Release Name1.0.0 (Posted on )
用户参与
Stargazers Count1.5k
Watchers Count40
Fork Count230
Commits Count56
Has Issues Enabled
Issues Count151
Issue Open Count26
Pull Requests Count37
Pull Requests Open Count3
Pull Requests Close Count18
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private