gorbit99 / codewindow.nvim

MIT License
431 stars 16 forks source link

Error: Invalid Window (id:1000) #42

Open BooleanCube opened 1 year ago

BooleanCube commented 1 year ago

Here is the error log I receive in the terminal after closing buffers and exiting Neovim with the codewindow toggled on:

Error executing vim.schedule lua callback: ...k/packer/start/codewindow.nvim/lua/codewindow/window.lua:90: Invalid window id: 1000
stack traceback:
    [C]: in function 'nvim_win_set_buf'
    ...k/packer/start/codewindow.nvim/lua/codewindow/window.lua:90: in function ''
    vim/_editor.lua: in function ''
    vim/_editor.lua: in function <vim/_editor.lua:0>

Why does this error occur and how can we get it fixed?

gorbit99 commented 1 year ago

What do you do, to have this error occur?

BooleanCube commented 1 year ago

If I close the buffer in Neovim using :q! and the minimap was toggled on, the error occurs. Otherwise, it works perfectly fine.