Skip to content

Commit

Permalink
Use Vetur for Vue grammar. Fix #4011
Browse files Browse the repository at this point in the history
  • Loading branch information
octref committed Feb 6, 2018
1 parent 812797b commit 610b3ef
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,6 @@
[submodule "vendor/grammars/atom-language-purescript"]
path = vendor/grammars/atom-language-purescript
url = https://github.com/purescript-contrib/atom-language-purescript
[submodule "vendor/grammars/vue-syntax-highlight"]
path = vendor/grammars/vue-syntax-highlight
url = https://github.com/vuejs/vue-syntax-highlight
[submodule "vendor/grammars/st2-zonefile"]
path = vendor/grammars/st2-zonefile
url = https://github.com/sixty4k/st2-zonefile
Expand Down Expand Up @@ -898,3 +895,6 @@
[submodule "vendor/grammars/atom-language-nextflow"]
path = vendor/grammars/atom-language-nextflow
url = https://github.com/nextflow-io/atom-language-nextflow
[submodule "vendor/grammars/vetur"]
path = vendor/grammars/vetur
url = https://github.com/vuejs/vetur
5 changes: 3 additions & 2 deletions grammars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -726,10 +726,11 @@ vendor/grammars/turtle.tmbundle:
- source.turtle
vendor/grammars/verilog.tmbundle:
- source.verilog
vendor/grammars/vetur:
- source.vue
- text.html.vue-html
vendor/grammars/vhdl:
- source.vhdl
vendor/grammars/vue-syntax-highlight:
- text.html.vue
vendor/grammars/wdl-sublime-syntax-highlighter:
- source.wdl
vendor/grammars/xc.tmbundle:
Expand Down
12 changes: 9 additions & 3 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2906,7 +2906,7 @@ Nextflow:
extensions:
- ".nf"
filenames:
- "nextflow.config"
- nextflow.config
interpreters:
- nextflow
language_id: 506780613
Expand Down Expand Up @@ -4188,7 +4188,7 @@ Scala:
color: "#c22d40"
extensions:
- ".scala"
- ".kojo"
- ".kojo"
- ".sbt"
- ".sc"
interpreters:
Expand Down Expand Up @@ -4860,9 +4860,15 @@ Vue:
color: "#2c3e50"
extensions:
- ".vue"
tm_scope: text.html.vue
tm_scope: source.vue
ace_mode: html
language_id: 391
Vue Template:
type: markup
color: "#2c3e50"
tm_scope: text.html.vue-html
ace_mode: html
language_id: 8536085
Wavefront Material:
type: data
extensions:
Expand Down
3 changes: 2 additions & 1 deletion vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,8 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **Vim script:** [Alhadis/language-viml](https://github.com/Alhadis/language-viml)
- **Visual Basic:** [angryant0007/VBDotNetSyntax](https://github.com/angryant0007/VBDotNetSyntax)
- **Volt:** [textmate/d.tmbundle](https://github.com/textmate/d.tmbundle)
- **Vue:** [vuejs/vue-syntax-highlight](https://github.com/vuejs/vue-syntax-highlight)
- **Vue:** [vuejs/vetur](https://github.com/vuejs/vetur)
- **Vue Template:** [vuejs/vetur](https://github.com/vuejs/vetur)
- **Wavefront Material:** [Alhadis/language-wavefront](https://github.com/Alhadis/language-wavefront)
- **Wavefront Object:** [Alhadis/language-wavefront](https://github.com/Alhadis/language-wavefront)
- **wdl:** [broadinstitute/wdl-sublime-syntax-highlighter](https://github.com/broadinstitute/wdl-sublime-syntax-highlighter)
Expand Down
1 change: 1 addition & 0 deletions vendor/grammars/vetur
Submodule vetur added at f20968
1 change: 0 additions & 1 deletion vendor/grammars/vue-syntax-highlight
Submodule vue-syntax-highlight deleted from 5c2b5a
File renamed without changes.

0 comments on commit 610b3ef

Please sign in to comment.