summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBjorn Neergaard <bjorn@neersighted.com>2016-10-22 08:29:30 -0500
committerBjorn Neergaard <bjorn@neersighted.com>2016-10-22 08:31:29 -0500
commit99aebcafac22607273f06442b3613e11774d8444 (patch)
tree5bf488fd6bca80b5ee191cba9934c433ac8df3bd /doc
parentf49f615ef647fdd33d82dc6d2646cd70367f7426 (diff)
downloadale-99aebcafac22607273f06442b3613e11774d8444.zip
Docs!
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index f1668481..42531598 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -130,7 +130,6 @@ g:ale_linter_aliases *g:ale_linter_aliases*
following values: >
{
- \ 'javscript.jsx': 'javascript',
\ 'zsh': 'sh',
\ 'csh': 'sh',
\}
@@ -616,6 +615,14 @@ ale#linter#Get(filetype) *ale#linter#Get()*
Return all of linters configured for a given filetype as a |List| of
|Dictionary| values in the format specified by |ale#linter#Define()|.
+ Filetypes may be dot-seperated to invoke linters for multiple filetypes:
+ for instance, the filetype `javascript.jsx` will return linters for both the
+ `javascript` and `jsx` filetype.
+
+ Aliases may be defined in as described in |g:ale_linter_aliases|. Aliases
+ are applied after dot-seperated filetypes are broken up into their
+ components.
+
ale#statusline#Status() *ale#statusline#Status()*
Return a formatted string that can be added to the statusline.