Change setglobal to let

This commit is contained in:
Dheepak Krishnamurthy
2020-08-02 09:39:25 -06:00
parent e72454e244
commit 29f696d0ef

View File

@@ -2,6 +2,6 @@ if g:lazygit_opened && g:lazygit_use_neovim_remote && executable("nvr")
augroup lazygit_neovim_remote augroup lazygit_neovim_remote
autocmd! autocmd!
autocmd WinLeave <buffer> :LazyGit autocmd WinLeave <buffer> :LazyGit
autocmd WinLeave <buffer> :setglobal lazygit_opened=0 autocmd WinLeave <buffer> :let g:lazygit_opened=0
augroup END augroup END
end end