mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-10 06:21:53 +08:00
Fix the Count example in the README
This commit is contained in:
@@ -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 New Issue
Block a user