Catch g++ fatal error

This commit is contained in:
Albert Puig 2016-12-08 00:14:23 +01:00
parent 815be12649
commit b5013ba54b

View File

@ -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