mirror of
https://github.com/chenasraf/lazygit.nvim.git
synced 2026-05-17 17:38:16 +00:00
fix: open_floating_window should return lazygit buffer instead of border_window
This commit is contained in:
@@ -81,7 +81,7 @@ local function open_floating_window()
|
||||
cmd = [[autocmd WinLeave <buffer> silent! execute 'silent bdelete! %s']]
|
||||
vim.cmd(cmd:format(border_buffer))
|
||||
|
||||
return win, border_window
|
||||
return win, LAZYGIT_BUFFER
|
||||
end
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user