fix: prevent moving cursor inside a fold#488
Open
timsu92 wants to merge 1 commit intoeasymotion:masterfrom
Open
fix: prevent moving cursor inside a fold#488timsu92 wants to merge 1 commit intoeasymotion:masterfrom
timsu92 wants to merge 1 commit intoeasymotion:masterfrom
Conversation
See easymotion#484 for the background. Fix: easymotion#383, Fix: easymotion#452 Close: easymotion#484 Co-authored-by: @Nealium
|
@timsu92 ty for the coauthor, I appreciate it! I should prob learn how to contribute and stop throwing solutions in issues & making other’s implement it. Thanks for doin the work :) |
Author
|
Thank you for your time targetting the problem, and many thanks to the authors of this plugin! It's really a life changing tool! |
|
@haya14busa would it be possible to get this into a release? I'd be happy to help if you're looking for maintainers. |
haya14busa
reviewed
Jan 2, 2026
| " keepjumps call cursor(foldclosed(pos[0]), 0) | ||
| else | ||
| elseif foldclosedend(pos[0]+1) != -1 | ||
| keepjumps call cursor(foldclosedend(pos[0]+1), 0) |
Member
There was a problem hiding this comment.
i guess the right fix should be the following.
Suggested change
| keepjumps call cursor(foldclosedend(pos[0]+1), 0) | |
| keepjumps call cursor(foldclosedend(pos[0])+1, 0) |
Can you confirm it?
Author
There was a problem hiding this comment.
I guess both 1306 and 1307 should be changed together or not at all?
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.
See #484 for the background.
Fix: #383, Fix: #452
Close: #484
Co-authored-by: @Nealium