Fix the Count example in the README

This commit is contained in:
w0rp 2017-05-25 13:33:29 +01:00
parent 5ee2ada8e9
commit aabddea6dd
1 changed files with 1 additions and 1 deletions

View File

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