From 761683de5943f2d74ea6417f099aa6dd4eb6a06f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 21 Feb 2018 23:20:14 +0100 Subject: vim: add ale fixers and change c linters --- vimrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 6580a9f..4c600ca 100644 --- a/vimrc +++ b/vimrc @@ -112,7 +112,11 @@ let g:UltiSnipsJumpBackwardTrigger="" " Ale let g:ale_lint_on_text_changed = 'never' -let g:ale_linters = {'c': ['cppcheck', 'gcc', 'clang']} +let g:ale_linters = {'c': ['cppcheck', 'clangcheck']} +let g:ale_fixers = { +\ 'c': ['remove_trailing_lines', 'trim_whitespace'], +\ 'python': ['autopep8', 'isort', 'add_blank_lines_for_python_control_statements', 'remove_trailing_lines', 'trim_whitespace'], +\} let g:ycm_path_to_python_interpreter="/usr/bin/python3" let g:ycm_global_ycm_extra_conf = ".ycm_conf.py" -- cgit v1.2.3