diff options
author | EinfachToll <istjanichtzufassen@googlemail.com> | 2017-02-01 11:22:21 +0100 |
---|---|---|
committer | EinfachToll <istjanichtzufassen@googlemail.com> | 2017-02-01 11:22:21 +0100 |
commit | e8123b3d5ede8da87fedc748f2712e2de1b24af8 (patch) | |
tree | ba8efcdef335f3e7cb0433e090c418e9a8c3ca26 /ale_linters/c/gcc.vim | |
parent | a1458e9c072e1cfc425591b7616a291e99778753 (diff) | |
download | ale-e8123b3d5ede8da87fedc748f2712e2de1b24af8.zip |
Tell gcc to use C, not C++, when linting C source files
A regression bug introduced with PR #232
Ref #278
Diffstat (limited to 'ale_linters/c/gcc.vim')
-rw-r--r-- | ale_linters/c/gcc.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/c/gcc.vim b/ale_linters/c/gcc.vim index 583f4fab..594c5c83 100644 --- a/ale_linters/c/gcc.vim +++ b/ale_linters/c/gcc.vim @@ -10,7 +10,7 @@ if !exists('g:ale_c_gcc_options') endif function! ale_linters#c#gcc#GetCommand(buffer) abort - return 'gcc -S -x c++ -fsyntax-only ' + return 'gcc -S -x c -fsyntax-only ' \ . g:ale_c_gcc_options . ' -' endfunction |