Closed Strongleong closed 1 week ago
Also similar error occurs if instead of aborting commit move cursor to status buffer and close it (q
). But this time neogit is fully closed (but it still spits out error)
Error executing vim.schedule lua callback: vim/_editor.lua:0: nvim_exec2(): Vim(buffer):E86: Buffer 1 does not exist
stack traceback:
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
...rongleong/projects/nvim/neogit/lua/neogit/lib/buffer.lua:206: in function <...rongleong/projects/nvim/neogit/lua/neogit/lib/buffer.lua:205>
duplicate of https://github.com/NeogitOrg/neogit/issues/1347
Thanks for your patience - I merged a fix to this last night. Feel free to reopen if thats not the case.
Description
In this screenshot I opened commit pop-up and pressed to abort commit. Commit editor popup is successfully closed, but staged diff split popup is not.
Here is error in text format for easy copying:
Neovim version
NVIM v0.10.0 Build type: Release LuaJIT 2.1.1716656478
Operating system and version
Artix open-rc edition (kernel 6.9.2-artix1-1)
Steps to reproduce
git init
echo "a" > file
nvim -nu minimal.lua
:Neogit
cc
)<c-c><c-k>
Expected behavior
Commit editor popup and staged diff split popup both closed without errors
Actual behavior
Commit editor popup is closed, staged diff split popup is not, errors
Minimal config