Skip to content

Commit 4b6cfcf

Browse files
authored
docs: add zed to installation (#71)
1 parent b1fb022 commit 4b6cfcf

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

pages/installation.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ appropriate binary name.
7474
7. [Vim + Vim-LSP](#vim--vim-lsp)
7575
8. [Helix](#helix)
7676
9. [Sublime Text](#sublime-text)
77+
10. [Zed](#zed)
7778

7879
### Vanilla Emacs with lsp-mode
7980
The emacs instructions assume you're using `use-package`, which you
@@ -275,3 +276,27 @@ You'll need to add a key called `"clients"` in the top-level `LSP.sublime-settin
275276
_note: you can name elixir-expert whatever you like, it's just for your own identification_
276277

277278
Upon saving the configuration, LSP-Sublime should enable the new `elixir-expert` LSP server. Go into an Elixir file and you should now see `elixir-expert` in the lower left of the status bar. If not, invoke the command palette and select `LSP: Enable Language Server Globally/In Project` and it should run.
279+
280+
### Zed
281+
282+
Zed [supports Expert](https://zed.dev/docs/languages/elixir) through the [Elixir extension](https://github.com/zed-extensions/elixir).
283+
284+
So, first install the extension and then update your `settings.json` to use Expert as language server:
285+
286+
```json
287+
{
288+
"languages": {
289+
"Elixir": {
290+
"language_servers": [
291+
"expert",
292+
"!elixir-ls",
293+
"!next-ls",
294+
"!lexical",
295+
"..."
296+
]
297+
}
298+
}
299+
}
300+
```
301+
302+
The Elixir extension will [download the latest Expert release](https://github.com/zed-extensions/elixir/blob/96fd0581d84cfac857a23c1351e2405836de39fd/src/language_servers/expert.rs#L65) and keep it updated. So, you don't need to manually download and update the expert release yourself.

0 commit comments

Comments
 (0)