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.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim
new file mode 100644
index 0000000..8b20787
--- /dev/null
+++ b/vim/ftplugin/cpp.vim
@@ -0,0 +1,3 @@
+" 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_fixers = ['remove_trailing_lines', 'trim_whitespace']