Files
lazygit.nvim/ftplugin/gitcommit.vim
2020-08-02 09:16:16 -06:00

8 lines
242 B
VimL

if g:lazygit_opened && g:lazygit_use_neovim_remote && executable("nvr")
augroup lazygit_neovim_remote
autocmd!
autocmd WinLeave <buffer> :LazyGit
autocmd WinLeave <buffer> :setglobal lazygit_opened=0
augroup END
end