summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-04-24 21:38:12 +0100
committerw0rp <devw0rp@gmail.com>2017-04-24 21:38:12 +0100
commitb4c0335ebceb5ba360a71dd3d0f10ec1d5807a83 (patch)
tree69920b84d2ddf70b59dcd6204a11fbec9e3943d6 /autoload
parent99afe586b3a42adce580011079a83bbdaab675bd (diff)
downloadale-b4c0335ebceb5ba360a71dd3d0f10ec1d5807a83.zip
Handle Unix errors with no space after the colon
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/handlers.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/handlers.vim b/autoload/ale/handlers.vim
index 011817ab..38c9fd42 100644
--- a/autoload/ale/handlers.vim
+++ b/autoload/ale/handlers.vim
@@ -12,7 +12,7 @@ function! s:HandleUnixFormat(buffer, lines, type) abort
" file.go:27: missing argument for Printf("%s"): format reads arg 2, have only 1 args
" file.go:53:10: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)
" file.go:5:2: expected declaration, found 'STRING' "log"
- let l:pattern = '^' . s:path_pattern . ':\(\d\+\):\?\(\d\+\)\?:\? \(.\+\)$'
+ let l:pattern = '^' . s:path_pattern . ':\(\d\+\):\?\(\d\+\)\?:\? \?\(.\+\)$'
let l:output = []
for l:line in a:lines