summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-12 00:11:50 +0000
committerw0rp <devw0rp@gmail.com>2017-11-12 10:56:53 +0000
commitd20e3bc71cd835f6708e78c5efea2f6d826d7e4d (patch)
tree055151b21f7038ad6b2cd03c66cd6136b290d907 /doc
parentb98387d0fa9452a70f383ac19deb4d109ddf38ec (diff)
downloadale-d20e3bc71cd835f6708e78c5efea2f6d826d7e4d.zip
#1108 Support setting b:ale_linter_aliases to a List
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 6d6a449b..41e96618 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -906,6 +906,12 @@ g:ale_linter_aliases *g:ale_linter_aliases*
ALE will first look for aliases for filetypes in the `b:ale_linter_aliases`
variable, then `g:ale_linter_aliases`, and then a default Dictionary.
+ `b:ale_linter_aliases` can be set to a |List|, to tell ALE to load the
+ linters for specific filetypes for a given buffer. >
+
+ let b:ale_linter_aliases = ['html', 'javascript', 'css']
+<
+ No linters will be loaded when the buffer's filetype is empty.
g:ale_linters *g:ale_linters*
*b:ale_linters*