summaryrefslogtreecommitdiff
path: root/ale_linters/haskell/ghc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/haskell/ghc.vim')
-rw-r--r--ale_linters/haskell/ghc.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/ale_linters/haskell/ghc.vim b/ale_linters/haskell/ghc.vim
index 275cf32f..def883e3 100644
--- a/ale_linters/haskell/ghc.vim
+++ b/ale_linters/haskell/ghc.vim
@@ -29,9 +29,7 @@ function! ale_linters#haskell#ghc#Handle(buffer, lines)
call add(l:corrected_lines, l:line)
else
if len(l:corrected_lines) > 0
- if l:corrected_lines[-1] =~# ': error:$'
- let l:line = substitute(l:line, '\v^\s+', ' ', '')
- endif
+ let l:line = substitute(l:line, '\v\s+', ' ', '')
let l:corrected_lines[-1] .= l:line
endif
endif