From 1fec9e8b9a1f0a804f840693c1ef6dfee86e9994 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Sat, 3 Sep 2016 17:28:21 +0300 Subject: [PATCH] Checker hdevtools: fix errorformat. --- plugin/syntastic.vim | 2 +- syntax_checkers/haskell/hdevtools.vim | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 365f99a5..578101d6 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:_SYNTASTIC_START endif -let g:_SYNTASTIC_VERSION = '3.7.0-212' +let g:_SYNTASTIC_VERSION = '3.7.0-213' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/syntax_checkers/haskell/hdevtools.vim b/syntax_checkers/haskell/hdevtools.vim index 4b0a80fb..f2313b3f 100644 --- a/syntax_checkers/haskell/hdevtools.vim +++ b/syntax_checkers/haskell/hdevtools.vim @@ -31,12 +31,12 @@ function! SyntaxCheckers_haskell_hdevtools_GetLocList() dict let errorformat = \ '%-Z %#,'. - \ '%W%f:%l:%v: Warning: %m,'. - \ '%W%f:%l:%v: Warning:,'. - \ '%E%f:%l:%v: %m,'. - \ '%E%>%f:%l:%v:,'. + \ '%W%\m%f:%l:%v%\%%(-%\d%\+%\)%\=: Warning: %m,'. + \ '%W%\m%f:%l:%v%\%%(-%\d%\+%\)%\=: Warning:,'. + \ '%E%\m%f:%l:%v%\%%(-%\d%\+%\)%\=: %m,'. + \ '%E%>%\m%f:%l:%v%\%%(-%\d%\+%\)%\=:,'. \ '%+C %#%m,'. - \ '%W%>%f:%l:%v:,'. + \ '%W%>%\m%f:%l:%v%\%%(-%\d%\+%\)%\=:,'. \ '%+C %#%tarning: %m,' return SyntasticMake({