Usage of rust
grammar for ron
files causes parsing inaccuracies
#8578
Labels
A-language-support
Area: Support for programming/text languages
Currently, Helix uses
grammar = "rust"
forron
files.ron
syntax is slightly different from Rust's so this creates fundamental errors in parsing of ron files and messes up things like auto-indentation and syntax node selection. This has become a major annoyance for me when working with ron files.Looks like https://github.com/zee-editor/tree-sitter-ron exists, so that would be worth considering.
The text was updated successfully, but these errors were encountered: