mirror of
https://github.com/dense-analysis/ale.git
synced 2026-11-05 20:02:50 +08:00
Fix #1124 - Handle stack-build errors with leading spaces
This commit is contained in:
1 parent
6c112dd1cc
commit
764a33b1c9
2 files changed
+23
-1
No files matched your search
@@ -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 = []
|
||||
|
||||
Reference in new issue
Block a user