Make plugin work as expected when using nvr

This commit is contained in:
Dheepak Krishnamurthy
2020-07-18 20:54:44 -06:00
parent a928e95455
commit 56225a9546
2 changed files with 7 additions and 11 deletions

6
ftplugin/gitcommit.vim Normal file
View File

@@ -0,0 +1,6 @@
if executable("nvr")
augroup GIT
autocmd!
autocmd WinLeave <buffer> :LazyGit
augroup END
end