Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tree-sitter-ruby for crystal #5205

Merged
merged 1 commit into from
Jan 8, 2023

Conversation

the-mikedavis
Copy link
Member

tree-sitter-crystal has some parse failures that make it very likely to have bad highlights on regular files (for example https://github.com/Blacksmoke16/oq/blob/master/src/oq.cr). It looks like there are some parse failures for strings in particular that lead to the file mostly being highlighted as a string.

Crystal and Ruby and close enough syntax-wise that we can probably get away with using tree-sitter-ruby until tree-sitter-crystal matures.

@the-mikedavis the-mikedavis added C-bug Category: This is a bug S-waiting-on-review Status: Awaiting review from a maintainer. A-language-support Area: Support for programming/text languages labels Dec 18, 2022
@archseer archseer merged commit b368df5 into helix-editor:master Jan 8, 2023
@the-mikedavis the-mikedavis deleted the md-crystal-ruby branch January 8, 2023 18:18
kirawi pushed a commit to kirawi/helix that referenced this pull request Jan 25, 2023
freqmod pushed a commit to freqmod/helix that referenced this pull request Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-language-support Area: Support for programming/text languages C-bug Category: This is a bug S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants