summaryrefslogtreecommitdiff
path: root/ale_linters/c
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-07-30 20:09:43 +0100
committerw0rp <devw0rp@gmail.com>2018-07-30 20:09:43 +0100
commit16d0c52d24e8948b8bd8030e3fd112e0b6361c06 (patch)
tree608a4a86e1f0521830bb409d88026fe881ff6ec2 /ale_linters/c
parent1e6b1d9be28495ead50e24b0d1eb93963dd92f4c (diff)
downloadale-16d0c52d24e8948b8bd8030e3fd112e0b6361c06.zip
Indicate that a C compiler failed due to problems in a header file
Diffstat (limited to 'ale_linters/c')
-rw-r--r--ale_linters/c/clang.vim2
-rw-r--r--ale_linters/c/gcc.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/c/clang.vim b/ale_linters/c/clang.vim
index 48ea76dd..9d49fabb 100644
--- a/ale_linters/c/clang.vim
+++ b/ale_linters/c/clang.vim
@@ -28,5 +28,5 @@ call ale#linter#Define('c', {
\ {'callback': 'ale#c#GetMakeCommand', 'output_stream': 'stdout'},
\ {'callback': 'ale_linters#c#clang#GetCommand'}
\ ],
-\ 'callback': 'ale#handlers#gcc#HandleGCCFormat',
+\ 'callback': 'ale#handlers#gcc#HandleGCCFormatWithIncludes',
\})
diff --git a/ale_linters/c/gcc.vim b/ale_linters/c/gcc.vim
index 63fe87a6..e2dff65d 100644
--- a/ale_linters/c/gcc.vim
+++ b/ale_linters/c/gcc.vim
@@ -28,5 +28,5 @@ call ale#linter#Define('c', {
\ {'callback': 'ale#c#GetMakeCommand', 'output_stream': 'stdout'},
\ {'callback': 'ale_linters#c#gcc#GetCommand'}
\ ],
-\ 'callback': 'ale#handlers#gcc#HandleGCCFormat',
+\ 'callback': 'ale#handlers#gcc#HandleGCCFormatWithIncludes',
\})