helix_core::syntax error could not parse queries for multiple languages despite synced grammars #11779
-
SummaryWith some languages (rust, javascript, comment, probably others too), I can't get syntax highlighting and the log shows an error saying that helix could not parse the queries. However, the runtime folder does contain the compiled grammars for those languages, and I have tried to run Reproduction StepsI tried this:
I expected this to happen: Instead, this happened: Helix log~/.cache/helix/helix.log
PlatformWindows Terminal Emulatorwezterm 20240203-110809-5046fc22 Installation Methodscoop Helix Versionhelix 24.7 (079f544) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
That message means that you are using queries that are incompatible with the versions of those tree-sitter parsers. Do you have any language configuration, in particular |
Beta Was this translation helpful? Give feedback.
You'll need the query files in
~/.config/helix/runtime/queries
to match the queries in this repo at the same version as you have installed: https://github.com/helix-editor/helix/tree/24.07/runtime/queries (24.07)