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

Add textobjects.scm for zig #4409

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

SoraTenshi
Copy link
Contributor

Unfortunately the way how the Zig grammar is declared, i had to do some (probably) not so decent practices when it comes to TSQ.

However, this code is tested and i am pretty certain someone smarter than me might be able to refine this code a little bit.

Copy link
Member

@the-mikedavis the-mikedavis left a comment

Choose a reason for hiding this comment

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

These look good 👍

I see what you were saying in the Matrix about "pub". That will need to be fixed in the grammar itself, IMO "pub" should be part of the declaration node (for function/struct/enum/whatever)

@the-mikedavis the-mikedavis merged commit 664064b into helix-editor:master Oct 21, 2022
@SoraTenshi SoraTenshi deleted the add-zig-textobjects branch October 21, 2022 23:02
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.

2 participants