summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-05-30 21:15:00 +0100
committerw0rp <devw0rp@gmail.com>2018-05-30 21:15:00 +0100
commit10e1545630943aa98320b62f97f79a6f85340e51 (patch)
tree57b2a9368bda681956dae53194f7b8f17cd97769
parent970b62756e8141691cf10d34165ec407b6756685 (diff)
downloadale-1.9.0.zip
Mention g:ale_linters_explicit in the READMEv1.9.0
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 80904a8a..54fdc2b2 100644
--- a/README.md
+++ b/README.md
@@ -435,6 +435,14 @@ be run for those languages, just as when the dictionary is not defined.
Running many linters should not typically obstruct editing in Vim,
as they will all be executed in separate processes simultaneously.
+If you don't want ALE to run anything other than what you've explicitly asked
+for, you can set `g:ale_linters_explicit` to `1`.
+
+```vim
+" Only run linters named in ale_linters settings.
+let g:ale_linters_explicit = 1
+```
+
This plugin will look for linters in the [`ale_linters`](ale_linters) directory.
Each directory within corresponds to a particular filetype in Vim, and each file
in each directory corresponds to the name of a particular linter.