Skip to content

[BUG] Status column is preserved with the session #506

@AllergicMushroom

Description

@AllergicMushroom

Describe the bug
If you update the statuscolumn and open a saved session, already open buffers will still have the old statuscolumn.

To Reproduce
Steps to reproduce the behavior:

  1. Set a statuscolumn in config files.
  2. Create and save a session with at least one open buffer.
  3. Change the statuscolumn.
  4. Load the session and open a new buffer.

Expected behavior
All buffers have the new statuscolumn. In practice, the previously opened buffers will have the old one, while the new opened buffer will have the new statuscolumn.

Checkhealth

auto-session: ✅

Setup ~

  • ✅ OK setup() called

Lazy.nvim settings ~

  • ✅ OK Lazy.nvim support is enabled
  • ✅ OK auto-session is not lazy loaded

Config ~

  • ✅ OK No config issues detected

Current Config ~

  • {
    auto_create = false,
    auto_delete_empty_sessions = false,
    bypass_save_filetypes = { "dashboard" },
    log_level = "error",
    session_lens = {
    buftypes_to_ignore = {},
    load_on_setup = true,
    picker_opt = {
    border = true
    },
    previewer = false
    }
    }

Baseline (please complete the following information):

  • Result of set sessionoptions?: sessionoptions=blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions
  • OS. e.g uname -a: Linux everfrost 6.18.2-arch2-1 Error in clean install #1 SMP PREEMPT_DYNAMIC Thu, 18 Dec 2025 18:00:18 +0000 x86_64 GNU/Linux
  • Neovim version nvim --version:
    NVIM v0.11.5
    Build type: RelWithDebInfo
    LuaJIT 2.1.1765228720
    Run "nvim -V1 -v" for more info

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions