aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/c.vim
blob: 6916f13500ca56663def13803d35c5408235b5f2 (plain)
1
2
3
4
5
6
7
let b:ale_linters = ['clangd', 'cppcheck', 'flawfinder']
let b:ale_fixers = ['clang-format', 'remove_trailing_lines', 'trim_whitespace']
let g:ale_c_ccls_init_options = {'cache': {'directory': '/tmp/ccls/cache'}, 'compilationDatabaseDirectory': 'build'}
let g:ale_c_parse_compile_commands = 1

nmap <F8> :ALENext<cr>
nmap <F7> :ALEPrevious<cr>