matos/.vimrc
2020-04-27 00:13:43 +02:00

10 lines
425 B
VimL

let g:ale_c_clang_options= ' -Icore/ -Idrivers/'
let g:ale_c_clangd_options= ' -Icore/ -Idrivers/'
let g:ale_c_gcc_options= ' -Icore/ -Idrivers/'
let g:ale_c_parse_makefile=1
let g:ale_c_cppcheck_options=' -Icore/ -Idrivers/'
let g:c_clangformat_options='-style=file'
let g:ale_echo_msg_format = '[%linter%] %s [%severity%]'
let b:ale_linters = {'c': ['gcc', 'clang', 'cppcheck']}
let b:ale_fixers = { 'c': ['clang-format']}