Fix the Count example in the README
This commit is contained in:
parent
5ee2ada8e9
commit
aabddea6dd
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ figure. You can do the following:
|
|||
|
||||
```vim
|
||||
function! LinterStatus() abort
|
||||
let l:counts = ale#statusline#Count()
|
||||
let l:counts = ale#statusline#Count(bufnr(''))
|
||||
|
||||
let l:all_errors = l:counts.error + l:counts.style_error
|
||||
let l:all_non_errors = l:counts.total - l:all_errors
|
||||
|
|
Reference in a new issue