From fc31ec69cb7df4123c0954b3d8287abf01663848 Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Thu, 23 Aug 2012 15:19:20 +0100 Subject: [PATCH] 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. --- syntax_checkers/sh.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/syntax_checkers/sh.vim b/syntax_checkers/sh.vim index 5b55172b..033b4055 100644 --- a/syntax_checkers/sh.vim +++ b/syntax_checkers/sh.vim @@ -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