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:
Richard Brown 2012-08-23 15:19:20 +01:00
parent e5dfcc3488
commit fc31ec69cb

View File

@ -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