summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2016-12-08 09:05:36 +0000
committerGitHub <noreply@github.com>2016-12-08 09:05:36 +0000
commit25f6445c50270f46ba83dfff417f0bb0360397f7 (patch)
tree0e04d4fa5b46ac1bf30a70b29fe71a233863ff54
parent815be12649718f3a260486af3922e9964a184d42 (diff)
parentb5013ba54b41254a1713d8550467846c45da684f (diff)
downloadale-25f6445c50270f46ba83dfff417f0bb0360397f7.zip
Merge pull request #210 from apuignav/error-cpp
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