From b5013ba54b41254a1713d8550467846c45da684f Mon Sep 17 00:00:00 2001 From: Albert Puig Date: Thu, 8 Dec 2016 00:14:23 +0100 Subject: [PATCH] Catch g++ fatal error --- autoload/ale/handlers.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/ale/handlers.vim b/autoload/ale/handlers.vim index d6be810..b7da32f 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