Fix the Count example in the README
This commit is contained in:
parent
5ee2ada8e9
commit
aabddea6dd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user