Client 1 quit with exit code 127 and signal 0
- elixirlsのcmd設定で、language_server.sh のパス解決が必要
- 自環境では
$HOME/.local/share/nvim/lspinstall/elixir/elixir-ls/language_server.sh
だった
require'lspconfig'.elixirls.setup{
cmd = { "/home/nvim/.local/share/nvim/lspinstall/elixir/elixir-ls/language_server.sh" },
capabilities = ~,
on_attach = ~,
settings = {
elixirLS = {
dialyzerEnabled = false,
}
}
}
Client 2 quit with exit code 127 and signal 0
- ログをみる (
$HOME/.cache/nvim/lsp.log
)- そもそもelixirにパスが通っていない様だった
- // Language Serverが使用するelixir実行環境が必要