summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorIngo Heimbach <i.heimbach@fz-juelich.de>2018-05-08 11:22:09 +0200
committerIngo Heimbach <i.heimbach@fz-juelich.de>2018-05-09 09:01:41 +0200
commit5fe74c7dc85952a4d902ec73ae1624c6940a995c (patch)
treee54fd7aab776377bc3d85ee174e18c70d7e9f311 /autoload
parent726a768464d3e42869088599cf1bd049f7a751df (diff)
downloadale-5fe74c7dc85952a4d902ec73ae1624c6940a995c.zip
Fatal GCC errors are handled as errors not warnings
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/handlers/gcc.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/handlers/gcc.vim b/autoload/ale/handlers/gcc.vim
index 9ec7b110..4b53652a 100644
--- a/autoload/ale/handlers/gcc.vim
+++ b/autoload/ale/handlers/gcc.vim
@@ -48,7 +48,7 @@ function! ale#handlers#gcc#HandleGCCFormat(buffer, lines) abort
let l:item = {
\ 'lnum': str2nr(l:match[2]),
- \ 'type': l:match[4] is# 'error' ? 'E' : 'W',
+ \ 'type': (l:match[4] is# 'error' || l:match[4] is# 'fatal error') ? 'E' : 'W',
\ 'text': s:RemoveUnicodeQuotes(l:match[5]),
\}