summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-05-25 13:33:29 +0100
committerw0rp <devw0rp@gmail.com>2017-05-25 13:33:29 +0100
commitaabddea6ddec88c017799c84fff3ee48eab6ee5d (patch)
treefd40b622fb0681fbb67a64d31360a929eba6ef34 /README.md
parent5ee2ada8e9f09d900fe607c0d2cd8123fdb3d5fd (diff)
downloadale-aabddea6ddec88c017799c84fff3ee48eab6ee5d.zip
Fix the Count example in the README
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