Skip to content

Commit

Permalink
Replace JSX grammar (#4223)
Browse files Browse the repository at this point in the history
* Remove Babel grammar

* New Babel grammar based on Sublime Text's
  • Loading branch information
pchaigno authored Oct 5, 2018
1 parent e3eb05e commit b70a976
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,9 @@
[submodule "vendor/grammars/awk-sublime"]
path = vendor/grammars/awk-sublime
url = https://github.com/github-linguist/awk-sublime
[submodule "vendor/grammars/babel-sublime"]
path = vendor/grammars/babel-sublime
url = https://github.com/github-linguist/babel-sublime
[submodule "vendor/grammars/ballerina-grammar"]
path = vendor/grammars/ballerina-grammar
url = https://github.com/ballerina-platform/ballerina-grammar
Expand Down Expand Up @@ -454,9 +457,6 @@
[submodule "vendor/grammars/language-asn1"]
path = vendor/grammars/language-asn1
url = https://github.com/ajLangley12/language-asn1
[submodule "vendor/grammars/language-babel"]
path = vendor/grammars/language-babel
url = https://github.com/github-linguist/language-babel
[submodule "vendor/grammars/language-batchfile"]
path = vendor/grammars/language-batchfile
url = https://github.com/mmims/language-batchfile
Expand Down
6 changes: 3 additions & 3 deletions grammars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@ vendor/grammars/ats:
- source.ats
vendor/grammars/awk-sublime:
- source.awk
vendor/grammars/babel-sublime:
- source.js.css
- source.js.jsx
vendor/grammars/ballerina-grammar:
- source.ballerina
vendor/grammars/bison.tmbundle:
Expand Down Expand Up @@ -369,9 +372,6 @@ vendor/grammars/language-apl:
- source.apl
vendor/grammars/language-asn1:
- source.asn
vendor/grammars/language-babel:
- source.js.jsx
- source.regexp.babel
vendor/grammars/language-batchfile:
- source.batchfile
vendor/grammars/language-blade:
Expand Down
2 changes: 1 addition & 1 deletion vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **JSON5:** [atom/language-javascript](https://github.com/atom/language-javascript)
- **JSONiq:** [wcandillon/language-jsoniq](https://github.com/wcandillon/language-jsoniq)
- **JSONLD:** [atom/language-javascript](https://github.com/atom/language-javascript)
- **JSX:** [github-linguist/language-babel](https://github.com/github-linguist/language-babel)
- **JSX:** [github-linguist/babel-sublime](https://github.com/github-linguist/babel-sublime)
- **Julia:** [JuliaEditorSupport/atom-language-julia](https://github.com/JuliaEditorSupport/atom-language-julia)
- **Jupyter Notebook:** [textmate/json.tmbundle](https://github.com/textmate/json.tmbundle)
- **KiCad Layout:** [Alhadis/language-pcb](https://github.com/Alhadis/language-pcb)
Expand Down
1 change: 1 addition & 0 deletions vendor/grammars/babel-sublime
Submodule babel-sublime added at 23b907
1 change: 0 additions & 1 deletion vendor/grammars/language-babel
Submodule language-babel deleted from 4b43df
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
type: grammar
name: language-babel
version: 4b43df39fed0bd5d3a6431a83a59591bafde434d
name: babel-sublime
version: 23b907439e210bb774ccd789b114e6721bf45239
license: mit
---
Copyright (c) 2015 Graham Clark
Copyright (c) 2015 Andres Suarez

MIT License

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down

0 comments on commit b70a976

Please sign in to comment.