Simplify the auto_loc_list options.

Don't allow "full_auto" and "semi_auto".
This commit is contained in:
Donald Ephraim Curtis 2011-02-15 21:49:54 -06:00
parent ffae882541
commit fc2a2e1134

View File

@ -59,11 +59,11 @@ function! s:UpdateErrors()
if g:syntastic_auto_jump if g:syntastic_auto_jump
silent!ll silent!ll
endif endif
elseif g:syntastic_auto_loc_list == 2 || g:syntastic_auto_loc_list =~ "semi_auto" elseif g:syntastic_auto_loc_list == 2
lclose lclose
endif endif
if g:syntastic_auto_loc_list == 1 || g:syntastic_auto_loc_list =~ "fully\\?_auto" if g:syntastic_auto_loc_list == 1
if s:BufHasErrorsOrWarningsToDisplay() if s:BufHasErrorsOrWarningsToDisplay()
call s:ShowLocList() call s:ShowLocList()
else else