aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorzetashift2023-03-21 22:12:24 +0000
committerGitHub2023-03-21 22:12:24 +0000
commit0e0c16e6fa2610c02a4fa6a3f9f90ba5e32133bb (patch)
treef51d57aac78e114cc5a3517af97a0fbad6971fbc /languages.toml
parentb0ceac608ebc117399af89b81fbd0837d370161d (diff)
Add initial Smithy support (#6370)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 5a42d7a4..234b1313 100644
--- a/languages.toml
+++ b/languages.toml
@@ -2355,3 +2355,17 @@ indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "capnp"
source = { git = "https://github.com/amaanq/tree-sitter-capnp", rev = "fc6e2addf103861b9b3dffb82c543eb6b71061aa" }
+
+[[language]]
+name = "smithy"
+scope = "source.smithy"
+injection-regex = "smithy"
+file-types = ["smithy"]
+roots = ["smithy-build.json"]
+comment-token = "//"
+indent = { tab-width = 4, unit = " " }
+language-server = { command = "cs", args = ["launch", "com.disneystreaming.smithy:smithy-language-server:latest.release", "--", "0"] }
+
+[[grammar]]
+name = "smithy"
+source = { git = "https://github.com/indoorvivants/tree-sitter-smithy", rev = "cf8c7eb9faf7c7049839585eac19c94af231e6a0" }