2019-10-17 11:23:22 +02:00
|
|
|
" More warnings and the usual version in flags for Clang
|
|
|
|
let b:ale_c_clang_options='-Wall -Wextra -pedantic -std=c99'
|
|
|
|
let b:undo_ftplugin.='|unlet b:ale_c_clang_options'
|
|
|
|
|
|
|
|
" More warnings and the usual version in flags for GCC
|
|
|
|
let b:ale_c_gcc_options='-Wall -Wextra -pedantic -std=c99'
|
|
|
|
let b:undo_ftplugin.='|unlet b:ale_c_gcc_options'
|
|
|
|
|
2019-10-12 11:11:05 +02:00
|
|
|
" Use compile_commands.json to look for additional flags
|
|
|
|
let b:ale_c_parse_compile_commands=1
|
2019-10-13 19:33:20 +02:00
|
|
|
let b:undo_ftplugin.='|unlet b:ale_c_parse_compile_commands'
|