2023-04-01T09:20:39.025 helix_loader [DEBUG] Located configuration folders: []
2023-04-01T09:20:39.036 helix_view::clipboard [INFO] Using xclip to interact with the system and selection (primary) clipboard
2023-04-01T09:20:39.106 helix_lsp::transport [INFO] -> {"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline">
2023-04-01T09:20:39.107 helix_view::editor [DEBUG] editor status: Loaded 1 files.
2023-04-01T09:20:39.108 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-04-01T09:20:39.110 helix_lsp::transport [ERROR] err <- "error: unknown proxy name: 'rust-analyzer'; valid proxy names are 'rustc', 'rustdoc', 'cargo', 'rust-lldb', 'rust-gdb', 'rust-gdbgui', 'rls', 'cargo-clippy', 'clippy-driver', 'cargo-miri', 'rustfmt', 'cargo-f>
2023-04-01T09:20:39.111 helix_lsp [ERROR] failed to initialize language server: server closed the stream
2023-04-01T09:20:39.111 helix_lsp::transport [ERROR] err: <- StreamClosed
2023-04-01T09:20:39.115 helix_term::application [DEBUG] received editor event: LanguageServerMessage((0, Notification(Notification { jsonrpc: None, method: "exit", params: None })))
2023-04-01T09:20:39.115 helix_view::editor [DEBUG] editor status: Language server exited
Summary
lsp for rust doesn't work
this also happens when you run 'rust-analyzer' but not when running 'rls'
error when running rust-analyzer
error is similar to the error in the log
Reproduction Steps
I tried this:
I expected this to happen:
working lsp
Instead, this happened:
only grammar is working
Helix log
~/.cache/helix/helix.log
Platform
Linux Opensuse
Terminal Emulator
Konsole
Helix Version
helix 22.12