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.logPlatformEndeavourOS Linux Terminal EmulatorWarp Terminal v0.2024.05.21.16.09.stable_02 Installation Methodsource Helix Versionhelix 24.3 (1796735) |
Replies: 2 comments 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. |
|
a note for future wanderers: this is not a helix issue! from what I understand, helix simply searches for a pre-configured binary name in your |


Delete your old runtime and copy over the new runtime following https://docs.helix-editor.com/install.html#configuring-helixs-runtime-files