fix: improve git commit message via nvr

Switch to the BufUnload event for reopening LazyGit window, so that the
user can switch windows before submitting his commit message.
This commit is contained in:
tobias.voelzel
2022-01-14 08:24:50 +01:00
parent 95f223c843
commit 4c33a74098
2 changed files with 8 additions and 3 deletions

View File

@@ -224,4 +224,9 @@ local function lazygitconfig()
end
end
return { lazygit = lazygit, lazygitfilter = lazygitfilter, lazygitconfig = lazygitconfig }
return {
lazygit = lazygit,
lazygitfilter = lazygitfilter,
lazygitconfig = lazygitconfig,
project_root_dir = project_root_dir,
}