diff options
author | Albert Puig <albert.puig@cern.ch> | 2016-12-08 00:14:23 +0100 |
---|---|---|
committer | Albert Puig <albert.puig@cern.ch> | 2016-12-08 09:32:57 +0100 |
commit | b5013ba54b41254a1713d8550467846c45da684f (patch) | |
tree | 0e04d4fa5b46ac1bf30a70b29fe71a233863ff54 | |
parent | 815be12649718f3a260486af3922e9964a184d42 (diff) | |
download | ale-b5013ba54b41254a1713d8550467846c45da684f.zip |
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 |