Skip to content

Commit 0dfa33a

Browse files
docs: add --stdio flag on emacs configuration documentation (#264)
1 parent 4664c7e commit 0dfa33a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pages/installation.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ emacs configuration), insert the following code:
112112
(use-package elixir-mode
113113
:ensure t
114114
:custom
115-
(lsp-elixir-server-command '("/my/home/projects/expert/apps/expert/burrito_out/expert_linux_amd64")))
115+
(lsp-elixir-server-command '("expert_linux_amd64" "--stdio")))
116116
```
117117
118118
Restart emacs, and Expert should start when you open a file with a
@@ -130,9 +130,9 @@ You can add Expert support in the following way:
130130
nil nil #'equal)
131131
(if (and (fboundp 'w32-shell-dos-semantics)
132132
(w32-shell-dos-semantics))
133-
'("expert_windows_amd64")
133+
'(("expert_windows_amd64" "--stdio"))
134134
(eglot-alternatives
135-
'("expert_linux_amd64" "start_lexical.sh")))))
135+
'(("expert_linux_amd64" "--stdio"))))))
136136
```
137137
138138
For versions before 30, you can add Eglot support for Expert in the
@@ -143,9 +143,9 @@ following way:
143143
(setf (alist-get 'elixir-mode eglot-server-programs)
144144
(if (and (fboundp 'w32-shell-dos-semantics)
145145
(w32-shell-dos-semantics))
146-
'("expert_windows_amd64")
146+
'(("expert_windows_amd64" "--stdio"))
147147
(eglot-alternatives
148-
'("expert_linux_amd64" "start_lexical.sh")))))
148+
'(("expert_linux_amd64" "--stdio"))))))
149149
```
150150
151151
If you're using `elixir-ts-mode` on Emacs 29, you can add a new entry
@@ -157,9 +157,9 @@ for Eglot:
157157
`((elixir-ts-mode heex-ts-mode) .
158158
,(if (and (fboundp 'w32-shell-dos-semantics)
159159
(w32-shell-dos-semantics))
160-
'("expert_windows_amd64")
160+
'(("expert_windows_amd64" "--stdio"))
161161
(eglot-alternatives
162-
'("expert_linux_amd64" "start_lexical.sh"))))))
162+
'(("expert_linux_amd64" "--stdio")))))))
163163
```
164164
165165
### Visual Studio Code

0 commit comments

Comments
 (0)