add vim checktime cmd to refresh buffers on lazygit exit

This commit is contained in:
Sébastien
2022-03-06 00:46:01 -04:00
parent 9bceeab976
commit ba2645c728

View File

@@ -55,6 +55,7 @@ local function on_exit(job_id, code, event)
LAZYGIT_BUFFER = nil
LAZYGIT_LOADED = false
vim.g.lazygit_opened = 0
vim.cmd('silent! :checktime')
end
end