From f42da73408d174fbb5b40521c739a65cc6f84cbf Mon Sep 17 00:00:00 2001 From: Thies Lennart Alff Date: Tue, 10 May 2022 13:11:15 +0200 Subject: [PATCH] directly invoke yapf --- vimrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vimrc b/vimrc index 26ecced..103399f 100644 --- a/vimrc +++ b/vimrc @@ -58,9 +58,9 @@ autocmd FileType c,cpp vnoremap f :py3f $HOME/clang-format.py let g:ale_linters={"python": ["pylint"]} let g:ale_fixers = ["yapf"] let g:ale_open_list=1 -let g:ale_set_quickfix=1 -let g:ale_set_loclist=0 +let g:ale_set_quickfix=0 +let g:ale_set_loclist=1 " does not seem to work due to os.fspath called by config_initialization of " pylint? " let g:ale_python_pylint_options='--rcfile $HOME/uuv/ros2/.pylintrc' -silent! autocmd FileType python nnoremap f (ale_fix) +silent! autocmd FileType python nnoremap f :0,$!yapf