aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/cpp.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/ftplugin/cpp.vim')
-rw-r--r--vim/ftplugin/cpp.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim
index 8b20787..7d278bf 100644
--- a/vim/ftplugin/cpp.vim
+++ b/vim/ftplugin/cpp.vim
@@ -1,3 +1,7 @@
" This is for C but vim defines *.h as cpp type so here we have it
-let b:ale_linters = ['cppcheck', 'gcc', 'cquery']
+let b:ale_linters = ['cppcheck', 'cquery']
let b:ale_fixers = ['remove_trailing_lines', 'trim_whitespace']
+"let g:ale_c_parse_compile_commands = 1
+
+nmap <F8> :ALENext<cr>
+nmap <F7> :ALEPrevious<cr>