diff --git a/doc/ale.txt b/doc/ale.txt index c8aa154..5891d07 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'`