Skip to content

Could not parse queries for language "rust" #10775

Closed Answered by the-mikedavis
Halmela asked this question in Troubleshooting
Discussion options

You must be logged in to vote

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's runtime dir. You can try removing ~/.config/helix/runtime and re-copying or symlinking it from your local clone of helix's runtime.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Halmela
Comment options

Answer selected by Halmela
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #10774 on May 16, 2024 13:30.