aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authormeak2022-04-26 19:55:00 +0000
committerGitHub2022-04-26 19:55:00 +0000
commit1a3d6252b9d1a411df8ea27ee04960f599c35a6b (patch)
tree7bd68b9ac417a997d47141fbd64eca3211dac40e /languages.toml
parent773736b03a176159240bcef3162732d538917331 (diff)
feat(lang): add hare language support (#2289)
Co-authored-by: Mehdi Katranji <hello@mek.yt>
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml13
1 files changed, 13 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index d77b3686..c786da9c 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1249,3 +1249,16 @@ language-server = { command = "vala-language-server" }
[[grammar]]
name = "vala"
source = { git = "https://github.com/vala-lang/tree-sitter-vala", rev = "c9eea93ba2ec4ec1485392db11945819779745b3" }
+
+[[language]]
+name = "hare"
+scope = "source.hare"
+injection-regex = "hare"
+file-types = ["ha"]
+roots = []
+comment-token = "//"
+indent = { tab-width = 4, unit = "\t" }
+
+[[grammar]]
+name = "hare"
+source = { git = "https://git.sr.ht/~ecmma/tree-sitter-hare", rev = "bc26a6a949f2e0d98b7bfc437d459b250900a165" }