From bb562a87612e1692ba3f462e5911bcbbb4ca6e24 Mon Sep 17 00:00:00 2001 From: bretello Date: Fri, 14 Feb 2020 16:37:50 +0100 Subject: [PATCH] update ale fixers/linters configuration --- my_configs.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/my_configs.vim b/my_configs.vim index f7cdc75..5871f8f 100644 --- a/my_configs.vim +++ b/my_configs.vim @@ -6,6 +6,10 @@ set autoread let g:ale_linters['python'] = ['pylint'] let g:ale_fixers = { 'python': ['black'] , 'rust': ['rustfmt']} let g:ale_linters['bash'] = ['bashlint'] +let g:ale_fixers = {'python': ['black']} +let g:ale_lint_on_insert_leave = 1 +let g:ale_fix_on_insert_leave = 1 + let g:ack_default_options = " --cc --cpp --shell --python" " let g:ale_lint_on_save = 1 let g:ale_fix_on_save = 1 @@ -14,5 +18,4 @@ let g:ale_completion_enabled = 1 let g:powerline_pycmd="py3" - packadd termdebug