add vim checktime cmd to refresh buffers on lazygit exit
This commit is contained in:
@@ -55,6 +55,7 @@ local function on_exit(job_id, code, event)
|
|||||||
LAZYGIT_BUFFER = nil
|
LAZYGIT_BUFFER = nil
|
||||||
LAZYGIT_LOADED = false
|
LAZYGIT_LOADED = false
|
||||||
vim.g.lazygit_opened = 0
|
vim.g.lazygit_opened = 0
|
||||||
|
vim.cmd('silent! :checktime')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user