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 option to acknowledge middle keywords in ir #30

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jeremiahkellick
Copy link

When using ir I noticed it selects all the way from below if to above end even if there's an else in between. I prefer to only select from below if to above else if my cursor is above else and from below else to above end if my cursor is below else.

This patch preserves the old behavior by default but if g:textobj_rubyblock_mids is set to 1, it acknowledges middle keywords when selecting inside.

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.

1 participant