Skip to content
Discussion options

You must be logged in to vote

The parsers can't be separated from the queries: their versions depend on one another. For example a newer version of a parser might rename or remove a node and then older queries matching on that node will then fail to compile.

Eventually we want to replace the current grammar loading system with a new one using some of the tools in https://github.com/helix-editor/tree-house. That will improve the UX of starting a fresh Helix instance with no grammars installed: you should be prompted asking if you want to download and compile the parsers and queries and they would likely move from $HELIX_RUNTIME/grammars to somewhere under XDG state dir.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by blinxen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants