mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-12-22 16:50:23 -05:00
Configure ale not to lint while in insert mode, and to lint when leaving insert mode
This commit is contained in:
parent
9c24b1b8b5
commit
c8de1131ba
1 changed files with 6 additions and 0 deletions
|
@ -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' ]
|
||||
|
|
Loading…
Reference in a new issue