Merge pull request #2494 from k2b6s9j/crystal-grammar

Use a Crystal grammar over the Ruby grammar for Crystal files.
This commit is contained in:
Arfon Smith
2015-07-12 13:42:53 +01:00
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