From 8164240f6f0aaed2055dae45fc0e5c6f6ec30b3d Mon Sep 17 00:00:00 2001 From: Matvey Aksenov Date: Tue, 15 Sep 2015 22:23:22 +0300 Subject: [PATCH] Hlint: handle hint file parsing errors. When hints (including those in ANN pragmas in Haskell source) fail to parse, Hlint uses a different error format. --- syntax_checkers/haskell/hlint.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/syntax_checkers/haskell/hlint.vim b/syntax_checkers/haskell/hlint.vim index f97d67f2..096e429f 100644 --- a/syntax_checkers/haskell/hlint.vim +++ b/syntax_checkers/haskell/hlint.vim @@ -18,6 +18,7 @@ function! SyntaxCheckers_haskell_hlint_GetLocList() dict \ 'fname': syntastic#util#shexpand('%:p')}) let errorformat = + \ '%E%f:%l:%v: Error while reading hint file\, %m,' . \ '%E%f:%l:%v: Error: %m,' . \ '%W%f:%l:%v: Warning: %m,' . \ '%C%m'