diff options
author | w0rp <w0rp@users.noreply.github.com> | 2016-12-08 09:05:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-08 09:05:36 +0000 |
commit | 25f6445c50270f46ba83dfff417f0bb0360397f7 (patch) | |
tree | 0e04d4fa5b46ac1bf30a70b29fe71a233863ff54 | |
parent | 815be12649718f3a260486af3922e9964a184d42 (diff) | |
parent | b5013ba54b41254a1713d8550467846c45da684f (diff) | |
download | ale-25f6445c50270f46ba83dfff417f0bb0360397f7.zip |
Merge pull request #210 from apuignav/error-cpp
Catch g++ fatal error
-rw-r--r-- | autoload/ale/handlers.vim | 2 |
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 |