mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-22 19:54:10 -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
|
" don't fix on save
|
||||||
let g:ale_fix_on_save = 0
|
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
|
" list of ale fixers
|
||||||
let g:ale_fixers = {
|
let g:ale_fixers = {
|
||||||
\ 'javascript': [ 'eslint' ]
|
\ 'javascript': [ 'eslint' ]
|
||||||
|
|
Loading…
Reference in a new issue