From 86adb6f53a10e41f0a53175ce56965d70bfd32f4 Mon Sep 17 00:00:00 2001 From: bretello Date: Tue, 16 Nov 2021 14:28:31 +0100 Subject: [PATCH] vim: ale lint on enter and auto poetry --- vim/plugins_config.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vim/plugins_config.vim b/vim/plugins_config.vim index 908627e..136bb0e 100644 --- a/vim/plugins_config.vim +++ b/vim/plugins_config.vim @@ -1,5 +1,7 @@ """" PLUGINS CONFIGURATION " ALE configuration +" +let g:ale_python_auto_poetry = 1 let g:ale_set_balloons = 1 " enable tooltips let g:ale_fixers = { \ '*': ['remove_trailing_lines', 'trim_whitespace'], @@ -49,7 +51,7 @@ let g:ale_open_list = 0 let g:ale_keep_list_window_open = 1 let g:ale_lint_on_save = 1 -" let g:ale_lint_on_enter = 0 " uncomment if you do not want to lint files on open +let g:ale_lint_on_enter = 1 " uncomment if you do not want to lint files on open let g:ale_lint_on_insert_leave = 1 " let g:ale_lint_on_text_changed = 1 let g:ale_lint_delay = 2500 " lint 2.5 seconds after text has changed