Use a Crystal grammar over the Ruby grammar for Crystal files.

The Crystal does have several little differences which distinguish it from Ruby. Thus it needs it's own grammar.
This commit is contained in:
Kepler Sticka-Jones
2015-07-11 09:24:22 -07:00
parent 3fdc904b18
commit 89fabd9a89
4 changed files with 7 additions and 1 deletions
+3
View File
@@ -653,3 +653,6 @@
[submodule "vendor/grammars/SMT.tmbundle"] [submodule "vendor/grammars/SMT.tmbundle"]
path = vendor/grammars/SMT.tmbundle path = vendor/grammars/SMT.tmbundle
url = https://github.com/SRI-CSL/SMT.tmbundle.git url = https://github.com/SRI-CSL/SMT.tmbundle.git
[submodule "vendor/grammars/language-crystal"]
path = vendor/grammars/language-crystal
url = https://github.com/k2b6s9j/language-crystal
+2
View File
@@ -314,6 +314,8 @@ vendor/grammars/language-clojure:
vendor/grammars/language-coffee-script: vendor/grammars/language-coffee-script:
- source.coffee - source.coffee
- source.litcoffee - source.litcoffee
vendor/grammars/language-crystal:
- source.crystal
vendor/grammars/language-csharp: vendor/grammars/language-csharp:
- source.cs - source.cs
- source.csx - source.csx
+1 -1
View File
@@ -670,7 +670,7 @@ Crystal:
extensions: extensions:
- .cr - .cr
ace_mode: ruby ace_mode: ruby
tm_scope: source.ruby tm_scope: source.crystal
interpreters: interpreters:
- crystal - crystal