Closed Subjective closed 3 months ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.0-dev-664+g0ce391086
Operating system/version
MacOS 13.4
Describe the bug
Switching buffers while in ZenMode doesn't apply zen-mode options.
There is also this strange issue where ZenMode does apply zen-mode options when switching to certain buffers, but the original options for those buffers are not restored upon exiting ZenMode, though I haven't been able to trace the root cause as it is rather inconsistent. (I think it may be lsp-related, as it only happens on buffers that lsps like lua_ls and tsserver attach to, but I'm not entirely sure).
As you can see from the example, ZenMode options are applied to all buffers except the one with
2.lua
opened, which is the only one that has its original line number column restored upon exiting ZenMode.Steps To Reproduce
Expected Behavior
I would expect that ZenMode options are applied when switching between buffers while ZenMode is enabled, and that the original buffer options (signcolumn, line numbers, etc.) are properly restored disabling ZenMode.
Repro