mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-05 11:18:26 +00:00
fix(zen): parent buf. Fixes #720
This commit is contained in:
parent
6f186a725f
commit
f31467637a
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ function M.zen(opts)
|
|||
-- when the zen buffer changes
|
||||
win:on("BufWinEnter", function()
|
||||
vim.api.nvim_win_set_buf(parent_win, win.buf)
|
||||
end, { buf = true })
|
||||
end)
|
||||
|
||||
-- close when entering another window
|
||||
win:on("WinEnter", function()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue