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.
This commit is contained in:
Matvey Aksenov 2015-09-15 22:23:22 +03:00
parent 1e7589fe5c
commit 8164240f6f

View File

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