Simplify errorformat

This commit is contained in:
Nicolas Wu 2013-07-29 16:06:09 +01:00
parent fa0ef8427d
commit d92a4b79d9

View File

@ -16,12 +16,9 @@ endfunction
function! SyntaxCheckers_haskell_hlint_GetLocList() function! SyntaxCheckers_haskell_hlint_GetLocList()
let errorformat = let errorformat =
\ '%E%f:%l:%c: %trror: %m,' . \ '%E%f:%l:%c: Error: %m,' .
\ '%W%f:%l:%c: %tarning: %m,' . \ '%W%f:%l:%c: Warning: %m,' .
\ '%+CFound:,' . \ '%C%m'
\ '%+CWhy not:,' .
\ '%+C\ \ %m,' .
\ '%Z%m'
let makeprg = syntastic#makeprg#build({ let makeprg = syntastic#makeprg#build({
\ 'exe': 'hlint', \ 'exe': 'hlint',