aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/c.vim
blob: 4eed046b6ca8187344e27588ec8b1262863b9391 (plain)
1
2
3
4
5
6
7
let b:ale_linters = ['ccls', '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'}}
let g:ale_c_parse_compile_commands = 1

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