aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 6580a9f..4c600ca 100644
--- a/vimrc
+++ b/vimrc
@@ -112,7 +112,11 @@ let g:UltiSnipsJumpBackwardTrigger="<c-k>"
" 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"