fix a bug with s:ErrorsForType()
compare the error type case insensitively since we cant know whether errors will have a type of 'E' or 'e'
This commit is contained in:
parent
056fb50d77
commit
e2f8d56bc4
@ -106,7 +106,7 @@ function! s:ErrorsForType(type)
|
||||
if !exists("b:syntastic_loclist")
|
||||
return []
|
||||
endif
|
||||
return filter(copy(b:syntastic_loclist), 'v:val["type"] ==# "' . a:type . '"')
|
||||
return filter(copy(b:syntastic_loclist), 'v:val["type"] ==? "' . a:type . '"')
|
||||
endfunction
|
||||
|
||||
if g:syntastic_enable_signs
|
||||
|
Loading…
Reference in New Issue
Block a user