aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-07-19 03:02:55 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-07-19 03:02:55 +0000
commit7a88e3024a616e153b8760d64b3541e3a166c27f (patch)
tree171635265808fe03ef352d57320ff327fc6d93fe
parentdocs(smithy): how do you install this thing #3961 (diff)
downloadnvim-lspconfig-7a88e3024a616e153b8760d64b3541e3a166c27f.tar
nvim-lspconfig-7a88e3024a616e153b8760d64b3541e3a166c27f.tar.gz
nvim-lspconfig-7a88e3024a616e153b8760d64b3541e3a166c27f.tar.bz2
nvim-lspconfig-7a88e3024a616e153b8760d64b3541e3a166c27f.tar.lz
nvim-lspconfig-7a88e3024a616e153b8760d64b3541e3a166c27f.tar.xz
nvim-lspconfig-7a88e3024a616e153b8760d64b3541e3a166c27f.tar.zst
nvim-lspconfig-7a88e3024a616e153b8760d64b3541e3a166c27f.zip
docs: update configs.md
skip-checks: true
-rw-r--r--doc/configs.md33
-rw-r--r--doc/configs.txt29
2 files changed, 58 insertions, 4 deletions
diff --git a/doc/configs.md b/doc/configs.md
index 902c8e34..6d5c0c52 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -10229,7 +10229,22 @@ Default config:
https://github.com/awslabs/smithy-language-server
-`Smithy Language Server`, A Language Server Protocol implementation for the Smithy IDL
+"Smithy Language Server", a Language server for the Smithy IDL.
+
+smithy-language-server has no docs that say how to actually install it(?), so look at:
+https://github.com/smithy-lang/smithy-vscode/blob/600cfcf0db65edce85f02e6d50f5fa2b0862bc8d/src/extension.ts#L78
+
+Maven package: https://central.sonatype.com/artifact/software.amazon.smithy/smithy-language-server
+
+Installation:
+1. Install coursier, or any tool that can install maven packages.
+ ```
+ brew install coursier
+ ```
+2. The LS is auto-installed and launched by:
+ ```
+ coursier launch software.amazon.smithy:smithy-language-server:0.7.0
+ ```
Snippet to enable the language server:
```lua
@@ -10239,12 +10254,26 @@ vim.lsp.enable('smithy_ls')
Default config:
- `cmd` :
```lua
- { "smithy-language-server", "0" }
+ { "coursier", "launch", "software.amazon.smithy:smithy-language-server:0.7.0", "-M", "software.amazon.smithy.lsp.Main", "--", "0" }
```
- `filetypes` :
```lua
{ "smithy" }
```
+- `init_options` :
+ ```lua
+ {
+ compilerOptions = {
+ snippetAutoIndent = false
+ },
+ isHttpEnabled = true,
+ statusBarProvider = "show-message"
+ }
+ ```
+- `message_level` :
+ ```lua
+ 4
+ ```
- `root_markers` :
```lua
{ "smithy-build.json", "build.gradle", "build.gradle.kts", ".git" }
diff --git a/doc/configs.txt b/doc/configs.txt
index 2c3401e4..ba781ca3 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -7535,7 +7535,22 @@ smithy_ls
https://github.com/awslabs/smithy-language-server
-`Smithy Language Server`, A Language Server Protocol implementation for the Smithy IDL
+"Smithy Language Server", a Language server for the Smithy IDL.
+
+smithy-language-server has no docs that say how to actually install it(?), so look at:
+https://github.com/smithy-lang/smithy-vscode/blob/600cfcf0db65edce85f02e6d50f5fa2b0862bc8d/src/extension.ts#L78
+
+Maven package: https://central.sonatype.com/artifact/software.amazon.smithy/smithy-language-server
+
+Installation:
+1. Install coursier, or any tool that can install maven packages.
+ ```
+ brew install coursier
+ ```
+2. The LS is auto-installed and launched by:
+ ```
+ coursier launch software.amazon.smithy:smithy-language-server:0.7.0
+ ```
Snippet to enable the language server: >lua
vim.lsp.enable('smithy_ls')
@@ -7543,9 +7558,19 @@ Snippet to enable the language server: >lua
Default config:
- cmd: >lua
- { "smithy-language-server", "0" }
+ { "coursier", "launch", "software.amazon.smithy:smithy-language-server:0.7.0", "-M", "software.amazon.smithy.lsp.Main", "--", "0" }
- filetypes: >lua
{ "smithy" }
+- init_options: >lua
+ {
+ compilerOptions = {
+ snippetAutoIndent = false
+ },
+ isHttpEnabled = true,
+ statusBarProvider = "show-message"
+ }
+- message_level: >lua
+ 4
- root_markers: >lua
{ "smithy-build.json", "build.gradle", "build.gradle.kts", ".git" }
<