Fix issue #303 FilterLocList
999d3c1b added a filter on the errors list that checks for key/value valid:1 in each element of the errors list. sh.vim doesn't use SyntasticMake to check for errors so needs to add {valid:1} to each result.
This commit is contained in:
parent
e5dfcc3488
commit
fc31ec69cb
@ -44,7 +44,8 @@ function! SyntaxCheckers_sh_GetLocList()
|
||||
call add(result, {'lnum' : line,
|
||||
\ 'text' : msg,
|
||||
\ 'bufnr': bufnr(''),
|
||||
\ 'type': 'E' })
|
||||
\ 'type': 'E',
|
||||
\ 'valid': 1})
|
||||
endfor
|
||||
return result
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user