summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'`