From 5ee2ada8e9f09d900fe607c0d2cd8123fdb3d5fd Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 25 May 2017 13:32:46 +0100 Subject: Mention the Count argument in the documentation --- doc/ale.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc') 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'` -- cgit v1.2.3