aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/configs.md13
-rw-r--r--doc/configs.txt13
2 files changed, 14 insertions, 12 deletions
diff --git a/doc/configs.md b/doc/configs.md
index eabe8311..2cfc766c 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -3034,12 +3034,13 @@ https://github.com/elixir-lsp/elixir-ls
`elixir-ls` can be installed by following the instructions [here](https://github.com/elixir-lsp/elixir-ls#building-and-running).
-```bash
-curl -fLO https://github.com/elixir-lsp/elixir-ls/releases/latest/download/elixir-ls.zip
-unzip elixir-ls.zip -d /path/to/elixir-ls
-# Unix
-chmod +x /path/to/elixir-ls/language_server.sh
-```
+1. Download the zip from https://github.com/elixir-lsp/elixir-ls/releases/latest/
+2. Unzip it and make it executable.
+ ```bash
+ unzip elixir-ls.zip -d /path/to/elixir-ls
+ # Unix
+ 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.
diff --git a/doc/configs.txt b/doc/configs.txt
index eabe8311..2cfc766c 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -3034,12 +3034,13 @@ https://github.com/elixir-lsp/elixir-ls
`elixir-ls` can be installed by following the instructions [here](https://github.com/elixir-lsp/elixir-ls#building-and-running).
-```bash
-curl -fLO https://github.com/elixir-lsp/elixir-ls/releases/latest/download/elixir-ls.zip
-unzip elixir-ls.zip -d /path/to/elixir-ls
-# Unix
-chmod +x /path/to/elixir-ls/language_server.sh
-```
+1. Download the zip from https://github.com/elixir-lsp/elixir-ls/releases/latest/
+2. Unzip it and make it executable.
+ ```bash
+ unzip elixir-ls.zip -d /path/to/elixir-ls
+ # Unix
+ 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.