Closed AnthonyPoschen closed 1 month ago
had the same issue, you workaround helped me. Thanks, @AnthonyPoschen !
This is more of a misuse than a bug. A general workaround is
vim.api.nvim_create_autocmd({ "VimLeavePre" }, {
callback = function() require('zen-mode').close() end,
})
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.9.4 Build type: Release LuaJIT 2.1.1700008891
Operating system/version
MacOs 14.2.1
Describe the bug
while using tmux and kitty terminal plugins while in zen mode with increased font size and tmux status's hidden if you directly close vim the font and tmux settings are not reverted back.
To get around the issue i made a autocommand based on reading the source code here. It appears the revert also needs to be fired on VimLeave or VimLeavePre to avoid this issue occuring.
The autocmd workaround is the following
Steps To Reproduce
:Zenmode
:wqa<CR>
Expected Behavior
i expect the font to return to the original size and the tmux status lines to return.
Repro