Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions pages/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ If things complete successfully, you will then have a release in your
`apps/expert/burrito_out` directory. If you see errors, please file a
bug.

To launch expert, you need to specify one of the `--stdio` or `--port <port>`. The
examples below assume you want to use `--stdio`.

In case you want to build and install it locally you can run `just install`,
which will install the generated binary inside `~/.local/bin`.

Expand Down Expand Up @@ -170,7 +173,7 @@ configuration below as a reference:

```lua
require('lspconfig').lexical.setup {
cmd = { "my/home/projects/expert/apps/expert/burrito_out/expert_linux_amd64" },
cmd = { "my/home/projects/expert/apps/expert/burrito_out/expert_linux_amd64", "--stdio" },
root_dir = function(fname)
return require('lspconfig').util.root_pattern("mix.exs", ".git")(fname) or vim.loop.cwd()
end,
Expand Down Expand Up @@ -271,7 +274,7 @@ You'll need to add a key called `"clients"` in the top-level `LSP.sublime-settin
"clients": {
"elixir-expert": {
"enabled": true,
"command": ["/my/home/projects/expert/apps/expert/burrito_out/expert_linux_amd64", ""],
"command": ["/my/home/projects/expert/apps/expert/burrito_out/expert_linux_amd64", "--stdio"],
"selector": "source.elixir"
}
}
Expand Down
Loading