summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Puig <albert.puig@cern.ch>2016-12-08 00:14:23 +0100
committerAlbert Puig <albert.puig@cern.ch>2016-12-08 09:32:57 +0100
commitb5013ba54b41254a1713d8550467846c45da684f (patch)
tree0e04d4fa5b46ac1bf30a70b29fe71a233863ff54
parent815be12649718f3a260486af3922e9964a184d42 (diff)
downloadale-b5013ba54b41254a1713d8550467846c45da684f.zip
Catch g++ fatal error
-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 d6be810a..b7da32f2 100644
--- a/autoload/ale/handlers.vim
+++ b/autoload/ale/handlers.vim
@@ -67,7 +67,7 @@ function! ale#handlers#HandleGCCFormat(buffer, lines) abort
\ 'vcol': 0,
\ 'col': l:match[2] + 0,
\ 'text': l:match[4],
- \ 'type': l:match[3] ==# 'error' ? 'E' : 'W',
+ \ 'type': l:match[3] =~# 'error' ? 'E' : 'W',
\ 'nr': -1,
\})
endfor