summaryrefslogtreecommitdiff
path: root/doc/ale.txt
diff options
context:
space:
mode:
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 67b6f25b..ad488efd 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'`