vim: ale lint on enter and auto poetry

pull/6/head
bretello 2021-11-16 14:28:31 +01:00
parent 52366a3769
commit 86adb6f53a
1 changed files with 3 additions and 1 deletions

View File

@ -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