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

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