summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 316af2c6..195ce983 100644
--- a/README.md
+++ b/README.md
@@ -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