Add surrounding pair modifier (#3)#168
Merged
pokey merged 5 commits intocursorless-dev:masterfrom Aug 9, 2021
Merged
Conversation
d23f507 to
bc83546
Compare
bc83546 to
80faa99
Compare
pokey
reviewed
Aug 9, 2021
| - anchor: {line: 0, character: 17} | ||
| active: {line: 0, character: 20} | ||
| finalState: | ||
| documentContents: "{const [] = [foo, bar]}" |
Member
There was a problem hiding this comment.
This is the only one I'm not in love with; it really only looks at start of selection, so if end of selection is outside of pair it will still count as containing. Would be more work to get this case working so I'm not sure it's worth the trouble
pokey
approved these changes
Aug 9, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements the matching modifier.