Could not parse queries for language "rust" #10775
-
SummaryHelix does not provide formatting for Rust-files. In logs, the only ERROR is:
but
and
I have tried
Reproduction StepsI tried this:
I expected this to happen: Instead, this happened: Helix logOutput with ~/.cache/helix/helix.log
PlatformLinux Terminal Emulatorkitty 0.21.2 Installation Methodsource Helix Versionhelix 24.3 (889bbef) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
That error message means that the highlights query you have for rust in |
Beta Was this translation helpful? Give feedback.
-
I'm getting this error too. My |
Beta Was this translation helpful? Give feedback.
That error message means that the highlights query you have for rust in
~/.config/helix/runtime/queries/rust/highlights.scm
is incompatible with the version of the parser being used by the version of helix you have installed. Typically that happens if you copy the runtime directory instead of symlinking it to your local copy of the helix repository'sruntime
dir. You can try removing~/.config/helix/runtime
and re-copying or symlinking it from your local clone of helix'sruntime
.