blob: 3464e2de6091aa45f27093fa2fbefd326b2c4d21 (
plain)
1
2
3
4
5
6
7
8
9
10
|
setlocal colorcolumn=120
setlocal textwidth=120
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>
|