parse haskell error and warning tags

This commit is contained in:
kongo2002 2011-12-18 21:26:39 +01:00
parent d3ed7b043e
commit fc987cead3

View File

@ -25,8 +25,9 @@ function! SyntaxCheckers_haskell_GetLocList()
\ "ghc-mod check ". shellescape(expand('%')) . "; " . \ "ghc-mod check ". shellescape(expand('%')) . "; " .
\ "ghc-mod lint " . shellescape(expand('%')) . ";" . \ "ghc-mod lint " . shellescape(expand('%')) . ";" .
\ " }" \ " }"
let errorformat = '%-G\\s%#,%f:%l:%c:%m,%E%f:%l:%c:,%Z%m,' let errorformat = '%-G\\s%#,%f:%l:%c:%trror: %m,%f:%l:%c:%tarning: %m,'.
\ '%f:%l:%c: %trror: %m,%f:%l:%c: %tarning: %m,%f:%l:%c:%m,'.
\ '%E%f:%l:%c:,%Z%m,'
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
endfunction endfunction