NeoZoom.lua icon indicating copy to clipboard operation
NeoZoom.lua copied to clipboard

Calling :q inside a zoom window gives invalid window id

Open Irubataru opened this issue 2 years ago • 0 comments

As the title says, :q gives an error when called in a zoom

Error detected while processing WinEnter Autocommands for "*":
Error executing lua callback: ...nvim/site/pack/packer/start/NeoZoom.lua/lua/neo-zoom.lua:92: Invalid window id: 1003
stack traceback:
        [C]: in function 'nvim_win_get_buf'
        ...nvim/site/pack/packer/start/NeoZoom.lua/lua/neo-zoom.lua:92: in function <...nvim/site/pack/packer/start/NeoZoom.lua/lua/neo-zoom.lua:87>

This might make sense, but the muscle memory of calling :q to close something is quite hard to get rid off.

Irubataru avatar Aug 04 '22 10:08 Irubataru