only sign errors for the current buffer
This commit is contained in:
parent
e45183a71d
commit
97d6937dd4
@ -111,6 +111,10 @@ let s:next_sign_id = s:first_sign_id
|
|||||||
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("")
|
||||||
|
continue
|
||||||
|
endif
|
||||||
|
|
||||||
let sign_type = 'SyntasticError'
|
let sign_type = 'SyntasticError'
|
||||||
if i['type'] == 'W'
|
if i['type'] == 'W'
|
||||||
let sign_type = 'SyntasticWarning'
|
let sign_type = 'SyntasticWarning'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user