Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml19
1 files changed, 19 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index c908e48a..acf519c9 100644
--- a/languages.toml
+++ b/languages.toml
@@ -261,6 +261,10 @@ enable = true
[language-server.vscode-eslint-language-server.config.workingDirectory]
mode = "location"
+[language-server.clarinet]
+command = "clarinet"
+args = ["lsp"]
+
[[language]]
name = "rust"
scope = "source.rust"
@@ -4371,3 +4375,18 @@ injection-regex = "rust-format-args"
[[grammar]]
name = "rust-format-args"
source = { git = "https://github.com/nik-rev/tree-sitter-rustfmt", rev = "2ca0bdd763d0c9dbb1d0bd14aea7544cbe81309c" }
+
+[[language]]
+name = "clarity"
+scope = "source.clar"
+injection-regex = "clarity"
+file-types = ["clar"]
+roots = ["Clarinet.toml"]
+comment-tokens = ";;"
+indent = { tab-width = 2, unit = " " }
+language-servers = [ "clarinet" ]
+
+[[grammar]]
+name = "clarity"
+source = { git = "https://github.com/xlittlerag/tree-sitter-clarity", rev = "7fa54825fdd971a1a676f885384f024fe2b7384a" }
+