aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorJonas Everaert2022-12-17 19:34:00 +0000
committerGitHub2022-12-17 19:34:00 +0000
commitaecb524e503363c2eed2a5a72d8fd881aae18e4b (patch)
treead4d9bdeb1a1758ac07172cd2cbc6be6548169b8 /languages.toml
parente6a2df8c798537a7dc5aff264eeccc773525aa6c (diff)
Crystal language support (#4993)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index d03726e7..42495e5c 100644
--- a/languages.toml
+++ b/languages.toml
@@ -224,6 +224,18 @@ name = "cpp"
source = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "d5e90fba898f320db48d81ddedd78d52c67c1fed" }
[[language]]
+name = "crystal"
+scope = "source.cr"
+file-types = ["cr"]
+roots = ["shard.yml", "shard.lock"]
+comment-token = "#"
+indent = { tab-width = 2, unit = " " }
+
+[[grammar]]
+name = "crystal"
+source = { git = "https://github.com/will/tree-sitter-crystal", rev = "15597b307b18028b04d288561f9c29794621562b" }
+
+[[language]]
name = "c-sharp"
scope = "source.csharp"
injection-regex = "c-?sharp"