aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-15 03:08:32 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-15 03:08:32 +0000
commit1885159254f790bd69b3179a178fa4d8b2f2b2f4 (patch)
tree455dd883123e15dbf7eeec6e848adb3a41f707d2
parentfeat(rescriptls): add init_options (#2893) (diff)
downloadnvim-lspconfig-1885159254f790bd69b3179a178fa4d8b2f2b2f4.tar
nvim-lspconfig-1885159254f790bd69b3179a178fa4d8b2f2b2f4.tar.gz
nvim-lspconfig-1885159254f790bd69b3179a178fa4d8b2f2b2f4.tar.bz2
nvim-lspconfig-1885159254f790bd69b3179a178fa4d8b2f2b2f4.tar.lz
nvim-lspconfig-1885159254f790bd69b3179a178fa4d8b2f2b2f4.tar.xz
nvim-lspconfig-1885159254f790bd69b3179a178fa4d8b2f2b2f4.tar.zst
nvim-lspconfig-1885159254f790bd69b3179a178fa4d8b2f2b2f4.zip
docs: update server_configurations.md
skip-checks: true
-rw-r--r--doc/server_configurations.md11
-rw-r--r--doc/server_configurations.txt11
2 files changed, 22 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index 05f9f22f..45623919 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -8159,11 +8159,14 @@ require'lspconfig'.remark_ls.setup{}
## rescriptls
https://github.com/rescript-lang/rescript-vscode/tree/master/server
+
ReScript Language Server can be installed via npm:
```sh
npm install -g @rescript/language-server
```
+See the init_options supported (see https://github.com/rescript-lang/rescript-vscode/tree/master/server/config.md):
+
**Snippet to enable the language server:**
@@ -8181,6 +8184,14 @@ require'lspconfig'.rescriptls.setup{}
```lua
{ "rescript" }
```
+ - `init_options` :
+ ```lua
+ {
+ extensionConfiguration = {
+ askToStartBuild = false
+ }
+ }
+ ```
- `root_dir` :
```lua
see source file
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index 05f9f22f..45623919 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -8159,11 +8159,14 @@ require'lspconfig'.remark_ls.setup{}
## rescriptls
https://github.com/rescript-lang/rescript-vscode/tree/master/server
+
ReScript Language Server can be installed via npm:
```sh
npm install -g @rescript/language-server
```
+See the init_options supported (see https://github.com/rescript-lang/rescript-vscode/tree/master/server/config.md):
+
**Snippet to enable the language server:**
@@ -8181,6 +8184,14 @@ require'lspconfig'.rescriptls.setup{}
```lua
{ "rescript" }
```
+ - `init_options` :
+ ```lua
+ {
+ extensionConfiguration = {
+ askToStartBuild = false
+ }
+ }
+ ```
- `root_dir` :
```lua
see source file