summaryrefslogtreecommitdiff
path: root/doc/ale.txt
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-05-25 13:32:46 +0100
committerw0rp <devw0rp@gmail.com>2017-05-25 13:32:46 +0100
commit5ee2ada8e9f09d900fe607c0d2cd8123fdb3d5fd (patch)
treef1eac347aa8a59a11d49f353d74a92d8b82f0ad2 /doc/ale.txt
parented8f79987d5a64c41f8b5c1c244243babde45d25 (diff)
downloadale-5ee2ada8e9f09d900fe607c0d2cd8123fdb3d5fd.zip
Mention the Count argument in the documentation
Diffstat (limited to 'doc/ale.txt')
-rw-r--r--doc/ale.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index c8aa154f..5891d077 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -1091,10 +1091,11 @@ ale#linter#Get(filetype) *ale#linter#Get()*
components.
-ale#statusline#Count() *ale#statusline#Count()*
+ale#statusline#Count(buffer) *ale#statusline#Count()*
- Returns a |Dictionary| containing information about the number of problems
- detected by ALE. The following keys are supported:
+ Given the number of a buffer which may have problems, return a |Dictionary|
+ containing information about the number of problems detected by ALE. The
+ following keys are supported:
`error` -> The number of problems with type `E` and `sub_type != 'style'`
`warning` -> The number of problems with type `W` and `sub_type != 'style'`