summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-13 22:47:19 +0000
committerw0rp <devw0rp@gmail.com>2017-11-13 22:47:19 +0000
commit764a33b1c9dc355f779366762db1645eda478ee4 (patch)
treeefc5d64d2730c7d8b5bab0d26d1f11391c4e7aab /autoload
parent6c112dd1cc0225d2549f364b5e8a7693755634c2 (diff)
downloadale-764a33b1c9dc355f779366762db1645eda478ee4.zip
Fix #1124 - Handle stack-build errors with leading spaces
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/handlers/haskell.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/handlers/haskell.vim b/autoload/ale/handlers/haskell.vim
index 9c8d0586..09606692 100644
--- a/autoload/ale/handlers/haskell.vim
+++ b/autoload/ale/handlers/haskell.vim
@@ -19,7 +19,7 @@ function! ale#handlers#haskell#HandleGHCFormat(buffer, lines) abort
" in Haskell error messages with the basename for this file.
let l:temp_filename_regex = s:temp_regex_prefix . l:basename
- let l:pattern = '\v^([a-zA-Z]?:?[^:]+):(\d+):(\d+):(.*)?$'
+ let l:pattern = '\v^\s*([a-zA-Z]?:?[^:]+):(\d+):(\d+):(.*)?$'
let l:output = []
let l:corrected_lines = []