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:
parent
1e7589fe5c
commit
8164240f6f
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user