error: Unknown binary 'rust-analyzer' in official toolchain 'stable-x86_64-unknown-linux-gnu'.\n #10851
-
SummaryAfter updating Helix to 24.3 (1796735) I no longer have syntax highlighting for Rust files. Reproduction StepsI tried this:
I expected this to happen (syntax highlighting is present for other files): Instead, this happened (no syntax highlighting for rust files): Helix log~/.cache/helix/helix.log
PlatformEndeavourOS Linux Terminal EmulatorWarp Terminal v0.2024.05.21.16.09.stable_02 Installation Methodsource Helix Versionhelix 24.3 (1796735) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
For syntax highlighting, you need to update the runtime folder. https://docs.helix-editor.com/install.html#configuring-helixs-runtime-files For the LSP, you need to install the rust-analyzer component from rustup. But those logs seem to be from half a year ago from the timestamp. |
Beta Was this translation helpful? Give feedback.
Delete your old runtime and copy over the new runtime following https://docs.helix-editor.com/install.html#configuring-helixs-runtime-files