#505 - Do not lint files on enter if the option for linting when the filetype changed is on

This commit is contained in:
w0rp
2017-09-02 16:57:01 +01:00
parent 52eff3bd83
commit f9b43a566c
4 changed files with 41 additions and 1 deletions

View File

@@ -683,6 +683,10 @@ g:ale_lint_on_filetype_changed *g:ale_lint_on_filetype_changed*
changed quickly several times in a row, but resulting in only one lint
cycle.
If |g:ale_lint_on_enter| is set to `0`, then ALE will not lint a file when
the filetype is initially set. Otherwise ALE would still lint files when
buffers are opened, and the option for doing so is turned off.
g:ale_lint_on_save *g:ale_lint_on_save*