diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 041a2bd1..59b6f050 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -18,7 +18,7 @@ if has('reltime') let g:syntastic_start = reltime() endif -let g:syntastic_version = '3.4.0-21' +let g:syntastic_version = '3.4.0-22' " Sanity checks {{{1 diff --git a/syntax_checkers/haskell/hlint.vim b/syntax_checkers/haskell/hlint.vim index a6714c48..592e4d39 100644 --- a/syntax_checkers/haskell/hlint.vim +++ b/syntax_checkers/haskell/hlint.vim @@ -18,13 +18,14 @@ function! SyntaxCheckers_haskell_hlint_GetLocList() dict \ 'fname': syntastic#util#shexpand('%:p')}) let errorformat = - \ '%E%f:%l:%c: Error: %m,' . - \ '%W%f:%l:%c: Warning: %m,' . + \ '%E%f:%l:%v: Error: %m,' . + \ '%W%f:%l:%v: Warning: %m,' . \ '%C%m' return SyntasticMake({ \ 'makeprg': makeprg, \ 'errorformat': errorformat, + \ 'defaults': {'vcol': 1}, \ 'postprocess': ['compressWhitespace'] }) endfunction