From d92a4b79d9056ba65097a196560b055199b297a1 Mon Sep 17 00:00:00 2001 From: Nicolas Wu Date: Mon, 29 Jul 2013 16:06:09 +0100 Subject: [PATCH] Simplify errorformat --- syntax_checkers/haskell/hlint.vim | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/syntax_checkers/haskell/hlint.vim b/syntax_checkers/haskell/hlint.vim index b2e3b2bc..ce896991 100644 --- a/syntax_checkers/haskell/hlint.vim +++ b/syntax_checkers/haskell/hlint.vim @@ -16,12 +16,9 @@ endfunction function! SyntaxCheckers_haskell_hlint_GetLocList() let errorformat = - \ '%E%f:%l:%c: %trror: %m,' . - \ '%W%f:%l:%c: %tarning: %m,' . - \ '%+CFound:,' . - \ '%+CWhy not:,' . - \ '%+C\ \ %m,' . - \ '%Z%m' + \ '%E%f:%l:%c: Error: %m,' . + \ '%W%f:%l:%c: Warning: %m,' . + \ '%C%m' let makeprg = syntastic#makeprg#build({ \ 'exe': 'hlint',