syntastic git · master
syntastic vim plugin (fork)
Vim Script 99%git clone https://git.christianimmanuel.de/mirrors-forks/syntastic.gitwget https://git.christianimmanuel.de/mirrors-forks/syntastic/archive/syntastic.tar.gzadd errorformat handlers for hlint column and line ranges
syntax_checkers/haskell/hlint.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/syntax_checkers/haskell/hlint.vim b/syntax_checkers/haskell/hlint.vim index 07ac45d9..02e9d684 100644 --- a/syntax_checkers/haskell/hlint.vim +++ b/syntax_checkers/haskell/hlint.vim @@ -28,8 +28,14 @@ function! SyntaxCheckers_haskell_hlint_GetLocList() dict let errorformat = \ '%E%f:%l:%v: Error while reading hint file\, %m,' . + \ '%E%f:(%l\,%v)-(%*[0-9]\,%*[0-9]): Error: %m,' . + \ '%E%f:%l:%v-%*[0-9]: Error: %m,' . \ '%E%f:%l:%v: Error: %m,' . + \ '%W%f:(%l\,%v)-(%*[0-9]\,%*[0-9]): Warning: %m,' . + \ '%W%f:%l:%v-%*[0-9]: Warning: %m,' . \ '%W%f:%l:%v: Warning: %m,' . + \ '%W%f:(%l\,%v)-(%*[0-9]\,%*[0-9]): Suggestion: %m,' . + \ '%W%f:%l:%v-%*[0-9]: Suggestion: %m,' . \ '%W%f:%l:%v: Suggestion: %m,' . \ '%C%m'