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

feat(languages): rescript #1616

Merged
merged 5 commits into from
Feb 6, 2022

Conversation

jaredramirez
Copy link
Contributor

Hey there,

This PR adds support for the rescript language!

@EpocSquadron
Copy link
Contributor

Are you proficient enough to add textobject queries? Should be a fairly easy add.

You're also missing a line ending in the languages.toml.

Copy link
Contributor

@EpocSquadron EpocSquadron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change .inner and .outer to .inside and .around, respectively, as those are the capture names helix expects.

@EpocSquadron
Copy link
Contributor

You'll also need to rerun xtask to pick up the textobject support in the language support table.

@EpocSquadron
Copy link
Contributor

Almost there! Sorry to be nagging, but it's "around" instead of "outside". I'm working on a screencast walkthrough of how these queries work, I regret that it wasn't ready to give to you up front and make this easier on you.

@jaredramirez
Copy link
Contributor Author

No worries, I totally missed that it was supposed to be around! Let me know if there's anything else needed!

@EpocSquadron
Copy link
Contributor

LGTM

@archseer archseer merged commit f5b95be into helix-editor:master Feb 6, 2022
@jaredramirez jaredramirez deleted the tree-sitter-rescript branch April 13, 2022 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants