mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
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:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -670,7 +670,7 @@ Crystal:
|
||||
extensions:
|
||||
- .cr
|
||||
ace_mode: ruby
|
||||
tm_scope: source.ruby
|
||||
tm_scope: source.crystal
|
||||
interpreters:
|
||||
- crystal
|
||||
|
||||
|
||||
1
vendor/grammars/language-crystal
vendored
Submodule
1
vendor/grammars/language-crystal
vendored
Submodule
Submodule vendor/grammars/language-crystal added at d4f3c1f43d
Reference in New Issue
Block a user