aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorzetashift2023-08-08 18:50:49 +0000
committerGitHub2023-08-08 18:50:49 +0000
commit294aa669a24ce10e5af32d2447f677bf6edd36d0 (patch)
treeb3615b01a16ff576d3e262dd6594fb0da594a720 /languages.toml
parentf01ca107fbf28c5dd65e238f775d708d738953b8 (diff)
Add Unison support (#7724)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml23
1 files changed, 23 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index c9a863ef..465b505b 100644
--- a/languages.toml
+++ b/languages.toml
@@ -2713,3 +2713,26 @@ injection-regex = "wren"
file-types = ["wren"]
roots = []
indent = { tab-width = 2, unit = " "}
+
+[[language]]
+name = "unison"
+scope = "source.unison"
+injection-regex = "unison"
+file-types = ["u"]
+shebangs = []
+roots = []
+auto-format = false
+comment-token = "--"
+indent = { tab-width = 4, unit = " " }
+
+[language.auto-pairs]
+'(' = ')'
+'{' = '}'
+'[' = ']'
+'"' = '"'
+'`' = '`'
+
+[[grammar]]
+name = "unison"
+source = { git = "https://github.com/kylegoetz/tree-sitter-unison", rev = "98c4e8bc5c9f5989814a720457cf36963cf4043d" }
+