summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-09-02 16:57:01 +0100
committerw0rp <devw0rp@gmail.com>2017-09-02 16:57:01 +0100
commitf9b43a566c156efa28e0e5d5d4ecea76a19672dd (patch)
treeef963166da4b86a5d06e5a85a40757c42a031804 /doc
parent52eff3bd83a6fb99559c8b9ae693fb965bd6520c (diff)
downloadale-f9b43a566c156efa28e0e5d5d4ecea76a19672dd.zip
#505 - Do not lint files on enter if the option for linting when the filetype changed is on
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 362171cb..fe91d4da 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -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*