aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorhh95272022-10-31 23:48:01 +0000
committerGitHub2022-10-31 23:48:01 +0000
commit9df43584924a72be88f537ac432e5976430fa3f1 (patch)
treee769a7e075f29ce3d89e5d97097a9be5a2c47d19 /languages.toml
parentdf3c6412acc2c0948450653a67a4993092abf5fb (diff)
Support WIT grammar (#4525)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml22
1 files changed, 22 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 9c0293f0..ee31f372 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1917,3 +1917,25 @@ roots = []
[[grammar]]
name = "xml"
source = { git = "https://github.com/RenjiSann/tree-sitter-xml", rev = "422528a43630db6dcc1e222d1c5ee3babd559473" }
+
+[[language]]
+name = "wit"
+scope = "source.wit"
+injection-regex = "wit"
+file-types = ["wit"]
+roots = []
+comment-token = "//"
+indent = { tab-width = 2, unit = " " }
+
+[language.auto-pairs]
+'(' = ')'
+'{' = '}'
+'[' = ']'
+'"' = '"'
+"'" = "'"
+"<" = ">"
+
+[[grammar]]
+name = "wit"
+source = { git = "https://github.com/hh9527/tree-sitter-wit", rev = "c917790ab9aec50c5fd664cbfad8dd45110cfff3" }
+