Fix lazygit vim fugitive conflict
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
if g:lazygit_use_neovim_remote && executable("nvr")
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user