Merge pull request #55 from Isos9/master
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_LOADED = false
|
||||
vim.g.lazygit_opened = 0
|
||||
vim.cmd('silent! :checktime')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user