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
.gitmodules vendored
View File

@@ -653,3 +653,6 @@
[submodule "vendor/grammars/SMT.tmbundle"]
path = vendor/grammars/SMT.tmbundle
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

View File

@@ -314,6 +314,8 @@ vendor/grammars/language-clojure:
vendor/grammars/language-coffee-script:
- source.coffee
- source.litcoffee
vendor/grammars/language-crystal:
- source.crystal
vendor/grammars/language-csharp:
- source.cs
- source.csx

View File

@@ -670,7 +670,7 @@ Crystal:
extensions:
- .cr
ace_mode: ruby
tm_scope: source.ruby
tm_scope: source.crystal
interpreters:
- crystal