2019-10-25 14:15:56 +02:00
|
|
|
if !exists("b:undo_ftplugin")
|
|
|
|
let b:undo_ftplugin=''
|
|
|
|
endif
|
|
|
|
|
2019-10-17 11:23:22 +02:00
|
|
|
" More warnings and the usual version in flags for Clang
|
|
|
|
let b:ale_cpp_clang_options='-Wall -Wextra -pedantic -std=c++17'
|
|
|
|
let b:undo_ftplugin.='|unlet b:ale_cpp_clang_options'
|
|
|
|
|
|
|
|
" More warnings and the usual version in flags for GCC
|
|
|
|
let b:ale_cpp_gcc_options='-Wall -Wextra -pedantic -std=c++17'
|
|
|
|
let b:undo_ftplugin.='|unlet b:ale_cpp_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'
|