Fix endif error

This commit is contained in:
Tim Pope committed 2010-06-02 23:43:33 -04:00
1 parent 6c44c4795e
commit ffcc12de5f
1 file changed
+1 -1
+1 -1
View File
@@ -1000,7 +1000,7 @@ call s:command("-bang -bar -nargs=? -complete=customlist,s:EditComplete Gdiff :e
augroup fugitive_diff
autocmd!
autocmd BufWinLeave * if s:diff_window_count() == 2 && &diff && getbufvar(+expand('<abuf>'), 'git_dir') !=# '' | windo call s:diff_off() | endif
autocmd BufWinLeave * if s:diff_window_count() == 2 && &diff && getbufvar(+expand('<abuf>'), 'git_dir') !=# '' | execute 'windo call s:diff_off()' | endif
autocmd BufWinEnter * if s:diff_window_count() == 1 && &diff && getbufvar(+expand('<abuf>'), 'git_dir') !=# '' | call s:diff_off() | endif
augroup END