Simplify errorformat
This commit is contained in:
parent
fa0ef8427d
commit
d92a4b79d9
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user