Fix CI failure on latest stable Neovim: jump list not updated from nofile buffer#550
Draft
Copilot wants to merge 3 commits into
Draft
Fix CI failure on latest stable Neovim: jump list not updated from nofile buffer#550Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
…ump position Agent-Logs-Url: https://github.com/lambdalisue/vim-fern/sessions/d8763511-b469-4efb-87b3-ac2980a252dd Co-authored-by: lambdalisue <546312+lambdalisue@users.noreply.github.com>
Agent-Logs-Url: https://github.com/lambdalisue/vim-fern/sessions/d8763511-b469-4efb-87b3-ac2980a252dd Co-authored-by: lambdalisue <546312+lambdalisue@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix CI failures on the latest stable Neovim
Fix CI failure on latest stable Neovim: jump list not updated from nofile buffer
May 4, 2026
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.
In newer Neovim stable,
:editexecuted from anofilebuffer no longer adds the current position to the jump list automatically, breakingg:fern#keepjumps_on_edit = 0behavior.Changes
autoload/fern/internal/buffer.vim: Whenopener='edit'andkeepjumps=0, explicitly record the current position vianormal! m'(sets previous context mark → adds to jump list) before executing the edit command. Always apply thekeepjumpsmodifier to prevent double-add:keepjumps=0: position recorded bym',keepjumps editprevents duplicatekeepjumps=1: nom',keepjumps editintentionally skips recordingtest/behavior/jumplist.vimspec: Removed comments misattributing the jump count difference to-waitside effects (the actual cause wasGon nofile adding one entry, andeditadding another — the latter now handled explicitly viam').