Fix #130 - Run linters when the filetype is changed

This commit is contained in:
w0rp
2017-03-27 22:40:25 +01:00
parent c9ee3efc11
commit ab3fd2e849
3 changed files with 22 additions and 0 deletions

View File

@@ -276,6 +276,17 @@ g:ale_lint_on_enter *g:ale_lint_on_enter*
behaviour.
g:ale_lint_on_filetype_changed *g:ale_lint_on_filetype_changed*
Type: |Number|
Default: `1`
This option will cause ALE to run whenever the filetype is changed. A short
delay will be used before linting will be done, so the filetype can be
changed quickly several times in a row, but resulting in only one lint
cycle.
g:ale_lint_on_save *g:ale_lint_on_save*
Type: |Number|