-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 support for indent objects #1550
Conversation
Actually, looks like I broke some logic when I refractored before final submission. The tests aren't specific enough |
Hmmm, that failing test wasn't modified by this PR and passed the first time. I'm guessing a maintainer can retry the build. I do have some questions though:
|
Restarted. Not the best person to review though. |
Appreciated. Though I'm only just now noticing the existing |
Also changes IndentObjectMatch to subclass TextObjectMovement
Wow, impressive work! Thanks for the contribution. Would you mind adding a little blurb in the README to explain what's going on here/how to use these guys? And yeah if you want to refactor to the TextObjectMovement class too, that would be awesome. It's not necessary for the merge though, so just let me know. |
Already done days ago, just never pushed. Working on the README now but it seems it's changed a lot in master. |
Yeah, we had a PR a few days ago that totally rewrote it. :) Should be stable-ish now. |
…-object * 'master' of https://github.com/VSCodeVim/Vim: (27 commits) bump package version fix gq reflow cursor position bump package version Fixes #1573 Fix logo src so logo displays inside VSCode (#1572) fixes #1449 (#1571) fixes #1570 fixes #1235 Fix position diff in gq reflow fixes #1252 fixes #1486 Update README.md Update ROADMAP.md fixes #1357 fixes #1563 fixes #1562 bump package version update clipboardy library with windows utf-8 fix Squashed lines together Escapes newlines in register display README enhancements (#1547) ...
I merged master and updated the README. I decided against examples since it seemed to add a lot and instead went with comparing it to |
Looks good to me. It's kind of funny since I added the custom Thanks again for the awesome work. :) |
Glad to help. And I was just thinking it would be cool if the count prefix could mean "look n levels up". As it stands, |
As defined at michaeljsmith/vim-indent-object.
Supports
ai
,ii
, andaI
withc
,d
, andv
operators.Refs #1096.