diff options
author | Karel Kočí <cynerd@email.cz> | 2018-02-21 23:20:14 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-02-21 23:20:14 +0100 |
commit | 761683de5943f2d74ea6417f099aa6dd4eb6a06f (patch) | |
tree | e620cbe9fcd5fb0d7e2d5e193f6ef9449160b3dd | |
parent | e117f023373b8dc24a6ff994f53f1f183e08eb14 (diff) | |
download | myconfigs-761683de5943f2d74ea6417f099aa6dd4eb6a06f.tar.gz myconfigs-761683de5943f2d74ea6417f099aa6dd4eb6a06f.tar.bz2 myconfigs-761683de5943f2d74ea6417f099aa6dd4eb6a06f.zip |
vim: add ale fixers and change c linters
-rw-r--r-- | vimrc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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" |