This commit is contained in:
Junegunn Choi 2014-04-09 01:03:43 +09:00
parent d2f6c09c7a
commit 5679540a2a

View File

@ -793,11 +793,7 @@ function! s:diff()
cd -
endfor
if cnt == 0
call setline(1, 'No update.')
else
call setline(1, 'Updated changes:')
endif
call setline(1, cnt == 0 ? 'No update.' : 'Updated changes:')
normal! gg
endfunction