diff --git a/vim/config/plugins/ale.vim b/vim/config/plugins/ale.vim index e3da089..0c34dcf 100644 --- a/vim/config/plugins/ale.vim +++ b/vim/config/plugins/ale.vim @@ -14,6 +14,12 @@ let g:ale_list_window_size = 5 " don't fix on save let g:ale_fix_on_save = 0 +" configure when to lint +let g:ale_lint_on_text_changed = 'normal' +let g:ale_lint_on_enter = 1 +let g:ale_lint_on_save = 1 +let g:ale_lint_on_insert_leave = 1 + " list of ale fixers let g:ale_fixers = { \ 'javascript': [ 'eslint' ]