Skip to content

Commit 3e56556

Browse files
authored
docs: update installation instructions for some editors (#195)
1 parent f2726c1 commit 3e56556

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pages/installation.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ If things complete successfully, you will then have a release in your
6060
`apps/expert/burrito_out` directory. If you see errors, please file a
6161
bug.
6262

63+
To launch expert, you need to specify one of the `--stdio` or `--port <port>`. The
64+
examples below assume you want to use `--stdio`.
65+
6366
In case you want to build and install it locally you can run `just install`,
6467
which will install the generated binary inside `~/.local/bin`.
6568

@@ -170,7 +173,7 @@ configuration below as a reference:
170173

171174
```lua
172175
require('lspconfig').lexical.setup {
173-
cmd = { "my/home/projects/expert/apps/expert/burrito_out/expert_linux_amd64" },
176+
cmd = { "my/home/projects/expert/apps/expert/burrito_out/expert_linux_amd64", "--stdio" },
174177
root_dir = function(fname)
175178
return require('lspconfig').util.root_pattern("mix.exs", ".git")(fname) or vim.loop.cwd()
176179
end,
@@ -271,7 +274,7 @@ You'll need to add a key called `"clients"` in the top-level `LSP.sublime-settin
271274
"clients": {
272275
"elixir-expert": {
273276
"enabled": true,
274-
"command": ["/my/home/projects/expert/apps/expert/burrito_out/expert_linux_amd64", ""],
277+
"command": ["/my/home/projects/expert/apps/expert/burrito_out/expert_linux_amd64", "--stdio"],
275278
"selector": "source.elixir"
276279
}
277280
}

0 commit comments

Comments
 (0)