Skip to content

bug: Jumplist history is lost after closing the auto-triggered lazy.nvim floating window #2105

@leonasdev

Description

@leonasdev

Did you check docs and existing issues?

  • I have read all the lazy.nvim docs
  • I have updated the plugin to the latest version before submitting this issue
  • I have searched the existing issues of lazy.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

NVIM v0.12.0-dev-910+g029b7a149f

Operating system/version

Ubuntu 22.04

Describe the bug

When lazy.nvim automatically opens its floating window on startup (e.g., to install or update plugins), the jumplist history is only available within that floating window. Once the floating window is closed, the jumplist in the main window (or dashboard) becomes empty.

Steps To Reproduce

  1. Trigger a state where lazy.nvim will open its floating window automatically upon starting Neovim (e.g., add a new plugin or wait for an update).
  2. Open Neovim: nvim.
  3. While the lazy.nvim floating window is open, run :jumps. You will see the correct jump history from the previous session.
  4. Close the lazy.nvim floating window (press q).
  5. Run :jumps again in the main window (or any buffer that appears).
  6. The jumplist is now empty.

Expected Behavior

The jumplist history should persist in the main window after the lazy.nvim floating window is closed.

Repro

LazyVim can reproduce this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions