add a couple of "!"s to function defs - for consistency
This commit is contained in:
parent
d85130ddf5
commit
26b45eeccf
@ -211,11 +211,11 @@ function! s:ErrorsForType(type)
|
|||||||
return filter(copy(b:syntastic_loclist), 'v:val["type"] ==? "' . a:type . '"')
|
return filter(copy(b:syntastic_loclist), 'v:val["type"] ==? "' . a:type . '"')
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function s:Errors()
|
function! s:Errors()
|
||||||
return extend(s:ErrorsForType("E"), s:ErrorsForType(''))
|
return extend(s:ErrorsForType("E"), s:ErrorsForType(''))
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function s:Warnings()
|
function! s:Warnings()
|
||||||
return s:ErrorsForType("W")
|
return s:ErrorsForType("W")
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
@ -232,7 +232,7 @@ let s:first_sign_id = 5000
|
|||||||
let s:next_sign_id = s:first_sign_id
|
let s:next_sign_id = s:first_sign_id
|
||||||
|
|
||||||
"place signs by all syntax errs in the buffer
|
"place signs by all syntax errs in the buffer
|
||||||
function s:SignErrors()
|
function! s:SignErrors()
|
||||||
if s:BufHasErrorsOrWarningsToDisplay()
|
if s:BufHasErrorsOrWarningsToDisplay()
|
||||||
for i in b:syntastic_loclist
|
for i in b:syntastic_loclist
|
||||||
if i['bufnr'] != bufnr("")
|
if i['bufnr'] != bufnr("")
|
||||||
|
Loading…
Reference in New Issue
Block a user