aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-09-04 01:00:27 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-09-04 01:00:27 +0000
commit3a8d621d74bd9760b9f8dbc4fdfb937bb13d2f49 (patch)
treed9f7febe0cd5c1714b4b7a7abd7e4bdb96fec1b9 /doc
parentdocs, lint #4055 (diff)
downloadnvim-lspconfig-3a8d621d74bd9760b9f8dbc4fdfb937bb13d2f49.tar
nvim-lspconfig-3a8d621d74bd9760b9f8dbc4fdfb937bb13d2f49.tar.gz
nvim-lspconfig-3a8d621d74bd9760b9f8dbc4fdfb937bb13d2f49.tar.bz2
nvim-lspconfig-3a8d621d74bd9760b9f8dbc4fdfb937bb13d2f49.tar.lz
nvim-lspconfig-3a8d621d74bd9760b9f8dbc4fdfb937bb13d2f49.tar.xz
nvim-lspconfig-3a8d621d74bd9760b9f8dbc4fdfb937bb13d2f49.tar.zst
nvim-lspconfig-3a8d621d74bd9760b9f8dbc4fdfb937bb13d2f49.zip
docs: update configs.md
skip-checks: true
Diffstat (limited to 'doc')
-rw-r--r--doc/configs.md10
-rw-r--r--doc/configs.txt10
2 files changed, 14 insertions, 6 deletions
diff --git a/doc/configs.md b/doc/configs.md
index 7b7cb3ef..25531a83 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -3537,7 +3537,9 @@ https://github.com/elixir-lsp/elixir-ls
chmod +x /path/to/elixir-ls/language_server.sh
```
-**By default, elixir-ls doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about your path. You must add the following to your init.vim or init.lua to set `cmd` to the absolute path ($HOME and ~ are not expanded) of your unzipped elixir-ls.
+**By default, elixir-ls doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about
+your path. You must add the following to your init.vim or init.lua to set `cmd` to the absolute path ($HOME and
+~ are not expanded) of your unzipped elixir-ls.
```lua
vim.lsp.config('elixirls', {
@@ -3549,7 +3551,9 @@ vim.lsp.config('elixirls', {
})
```
-'root_dir' is chosen like this: if two or more directories containing `mix.exs` were found when searching directories upward, the second one (higher up) is chosen, with the assumption that it is the root of an umbrella app. Otherwise the directory containing the single mix.exs that was found is chosen.
+'root_dir' is chosen like this: if two or more directories containing `mix.exs` were found when searching
+directories upward, the second one (higher up) is chosen, with the assumption that it is the root of an umbrella
+app. Otherwise the directory containing the single mix.exs that was found is chosen.
Snippet to enable the language server:
```lua
@@ -3561,7 +3565,7 @@ Default config:
```lua
{ "elixir", "eelixir", "heex", "surface" }
```
-- `root_dir`: [../lsp/elixirls.lua:30](../lsp/elixirls.lua#L30)
+- `root_dir`: [../lsp/elixirls.lua:34](../lsp/elixirls.lua#L34)
---
diff --git a/doc/configs.txt b/doc/configs.txt
index ab2d2885..dc6748a2 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -2415,7 +2415,9 @@ https://github.com/elixir-lsp/elixir-ls
chmod +x /path/to/elixir-ls/language_server.sh
```
-**By default, elixir-ls doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about your path. You must add the following to your init.vim or init.lua to set `cmd` to the absolute path ($HOME and ~ are not expanded) of your unzipped elixir-ls.
+**By default, elixir-ls doesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about
+your path. You must add the following to your init.vim or init.lua to set `cmd` to the absolute path ($HOME and
+~ are not expanded) of your unzipped elixir-ls.
>lua
vim.lsp.config('elixirls', {
-- Unix
@@ -2425,7 +2427,9 @@ https://github.com/elixir-lsp/elixir-ls
...
})
-'root_dir' is chosen like this: if two or more directories containing `mix.exs` were found when searching directories upward, the second one (higher up) is chosen, with the assumption that it is the root of an umbrella app. Otherwise the directory containing the single mix.exs that was found is chosen.
+'root_dir' is chosen like this: if two or more directories containing `mix.exs` were found when searching
+directories upward, the second one (higher up) is chosen, with the assumption that it is the root of an umbrella
+app. Otherwise the directory containing the single mix.exs that was found is chosen.
Snippet to enable the language server: >lua
vim.lsp.enable('elixirls')
@@ -2434,7 +2438,7 @@ Snippet to enable the language server: >lua
Default config:
- filetypes: >lua
{ "elixir", "eelixir", "heex", "surface" }
-- root_dir (use "gF" to view): ../lsp/elixirls.lua:30
+- root_dir (use "gF" to view): ../lsp/elixirls.lua:34
<
------------------------------------------------------------------------------