Mention the Count argument in the documentation

This commit is contained in:
w0rp 2017-05-25 13:32:46 +01:00
parent ed8f79987d
commit 5ee2ada8e9
1 changed files with 4 additions and 3 deletions

View File

@ -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'`