aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/c.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/ftplugin/c.vim')
-rw-r--r--vim/ftplugin/c.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/ftplugin/c.vim b/vim/ftplugin/c.vim
index 4eed046..df078c6 100644
--- a/vim/ftplugin/c.vim
+++ b/vim/ftplugin/c.vim
@@ -1,6 +1,6 @@
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_ccls_init_options = {'cache': {'directory': '/tmp/ccls/cache'}, 'compilationDatabaseDirectory': 'build'}
let g:ale_c_parse_compile_commands = 1
nmap <F8> :ALENext<cr>