This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
helix seg faults when highlights.scm is non-empty for crystal tree sitter #12257
Labels
C-bug
Category: This is a bug
Summary
I am attempting to move Crystal to use the new tree-sitter at https://github.com/crystal-lang-tools/tree-sitter-crystal, as it has better support. In trying to get stuff working locally, I've run into an issue where it will seg fault if my highlights.scm is non-empty. I don't know if this is an issue with the crystal tree sitter or one with helix.
Reproduction Steps
languages.toml
:hx --grammar fetch
&&hx --grammar build
runtime/queries/crystal/highlights.scm
:injections.scm
,locals.scm
,textobjects.scm
with some text (otherwise it falls back to the ruby queries)hx path/to/crystal/file.cr
Helix log
It does not produce a log due to seg faulting. Best I can do is a macos crash log:
Platform
Macbook Pro M3 Pro
Terminal Emulator
iTerm2
Installation Method
brew
Helix Version
24.7
The text was updated successfully, but these errors were encountered: