Simplify the auto_loc_list options.
Don't allow "full_auto" and "semi_auto".
This commit is contained in:
parent
ffae882541
commit
fc2a2e1134
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user