From 6d6c04a71eff7bb7808dfd71d6d8d4b8b547dccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 1 Oct 2018 11:31:22 +0200 Subject: vim: configure completion using ale --- vim/ftplugin/cpp.vim | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 vim/ftplugin/cpp.vim (limited to 'vim/ftplugin/cpp.vim') 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'] -- cgit v1.2.3