aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/configs.md6
-rw-r--r--doc/configs.txt4
2 files changed, 8 insertions, 2 deletions
diff --git a/doc/configs.md b/doc/configs.md
index 60432e5a..adf2e822 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -7760,7 +7760,7 @@ Default config:
https://github.com/elixir-tools/next-ls
-**By default, next-ls does not set its `cmd`. Please see the following [detailed instructions](https://www.elixir-tools.dev/docs/next-ls/installation/) for possible installation methods.**
+**Please see the following [detailed instructions](https://www.elixir-tools.dev/docs/next-ls/installation/) for possible installation methods.**
Snippet to enable the language server:
```lua
@@ -7768,6 +7768,10 @@ vim.lsp.enable('nextls')
```
Default config:
+- `cmd` :
+ ```lua
+ { "nextls", "--stdio" }
+ ```
- `filetypes` :
```lua
{ "elixir", "eelixir", "heex", "surface" }
diff --git a/doc/configs.txt b/doc/configs.txt
index 7e34a347..7bb50ca6 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -5680,13 +5680,15 @@ nextls
https://github.com/elixir-tools/next-ls
-**By default, next-ls does not set its `cmd`. Please see the following [detailed instructions](https://www.elixir-tools.dev/docs/next-ls/installation/) for possible installation methods.**
+**Please see the following [detailed instructions](https://www.elixir-tools.dev/docs/next-ls/installation/) for possible installation methods.**
Snippet to enable the language server: >lua
vim.lsp.enable('nextls')
Default config:
+- cmd: >lua
+ { "nextls", "--stdio" }
- filetypes: >lua
{ "elixir", "eelixir", "heex", "surface" }
- root_markers: >lua