summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-05-09 09:14:38 +0100
committerGitHub <noreply@github.com>2018-05-09 09:14:38 +0100
commit38c66d33fe8022803497c49239b06112ccbd0a83 (patch)
treede361946a2b9a4ee06c51cd79bd2bf5e9c07c494 /autoload
parentf7ecf3f47a22de588c241cd17d75331875097110 (diff)
parent5fe74c7dc85952a4d902ec73ae1624c6940a995c (diff)
downloadale-38c66d33fe8022803497c49239b06112ccbd0a83.zip
Merge pull request #1563 from IngoHeimbach/fix/gcc-fatal-error
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]),
\}