aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/smithy_ls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/smithy_ls.lua')
-rw-r--r--lsp/smithy_ls.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/lsp/smithy_ls.lua b/lsp/smithy_ls.lua
new file mode 100644
index 00000000..7db9fadb
--- /dev/null
+++ b/lsp/smithy_ls.lua
@@ -0,0 +1,13 @@
+-- pass 0 as the first argument to use STDIN/STDOUT for communication
+local cmd = { 'smithy-language-server', '0' }
+
+---@brief
+---
+---https://github.com/awslabs/smithy-language-server
+--
+-- `Smithy Language Server`, A Language Server Protocol implementation for the Smithy IDL
+return {
+ cmd = cmd,
+ filetypes = { 'smithy' },
+ root_markers = { 'smithy-build.json', 'build.gradle', 'build.gradle.kts', '.git' },
+}