fix evil-cp-up-sexp getting stuck on closing quote #111
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.
evil-cp-up-sexp
get's stuck on closing quotes, for example in:with the cursor in the "%s" string, you do
evil-cp-up-sexp
once and it will move to the closing quote but then when you repeatevil-cp-up-sexp
it will just stay stuck on the closing quote. It currently has a check if it is on a closing paren to move forward one char, I changed it so if it is on a closing paren or closing quote it willforward-char
, and now it behaves as you expect. Starting with the cursor in the "%s" doevil-cp-up-sexp
once and it will move to the closing quote, doevil-cp-up-sexp
again and it will move to the closing paren.