Merge pull request #210 from apuignav/error-cpp

Catch g++ fatal error
This commit is contained in:
w0rp 2016-12-08 09:05:36 +00:00 committed by GitHub
commit 25f6445c50

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