Merge pull request #55 from Isos9/master

add vim checktime cmd to refresh buffers on lazygit exit
This commit is contained in:
Dheepak Krishnamurthy
2022-03-05 23:13:33 -07:00
committed by GitHub

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