Silence the :ll command when auto_jump is enabled.

The message for the current error was being displayed when :ll was being
called.  Put a silent call to suppress output.
This commit is contained in:
Donald Ephraim Curtis 2011-01-06 13:39:21 -06:00 committed by scrooloose
parent 9e6ad47d71
commit aebfc62a3b

View File

@ -54,7 +54,7 @@ function! s:UpdateErrors()
if s:BufHasErrorsOrWarningsToDisplay()
call setloclist(0, b:syntastic_loclist)
if g:syntastic_auto_jump
:ll
silent!ll
endif
endif