Browse Source

vim: ale lint on enter and auto poetry

master
bretello 9 months ago
parent
commit
86adb6f53a
  1. 4
      vim/plugins_config.vim

4
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

Loading…
Cancel
Save