mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-18 12:01:27 +08:00
Update README section about running linters on save
The default for `g:ale_lint_on_insert_leave` was recently changed to 1, so it now needs to be explicitly set to 0 to run linters only when files are saved.
This commit is contained in:
1 parent
65ba4b85ec
commit
6feeca793a
1 file changed
+1
@@ -596,6 +596,7 @@ options off.
|
|||||||
```vim
|
```vim
|
||||||
" Write this in your vimrc file
|
" Write this in your vimrc file
|
||||||
let g:ale_lint_on_text_changed = 'never'
|
let g:ale_lint_on_text_changed = 'never'
|
||||||
|
let g:ale_lint_on_insert_leave = 0
|
||||||
" You can disable this option too
|
" You can disable this option too
|
||||||
" if you don't want linters to run on opening a file
|
" if you don't want linters to run on opening a file
|
||||||
let g:ale_lint_on_enter = 0
|
let g:ale_lint_on_enter = 0
|
||||||
|
|||||||
Reference in new issue
Block a user