Close #28
This commit is contained in:
committed by
GitHub
parent
c1840692c1
commit
17363d8200
@@ -135,7 +135,7 @@ local function open_floating_window()
|
||||
vim.cmd('set winhl=Normal:Floating')
|
||||
|
||||
-- create a unlisted scratch buffer
|
||||
if LAZYGIT_BUFFER == nil or vim.fn.bufwinnr(LAZYGIT_BUFFER) == 0 then
|
||||
if LAZYGIT_BUFFER == nil or vim.fn.bufwinnr(LAZYGIT_BUFFER) == -1 then
|
||||
LAZYGIT_BUFFER = api.nvim_create_buf(false, true)
|
||||
else
|
||||
LAZYGIT_LOADED = true
|
||||
|
||||
Reference in New Issue
Block a user