From aabddea6ddec88c017799c84fff3ee48eab6ee5d Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 25 May 2017 13:33:29 +0100 Subject: Fix the Count example in the README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') 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 -- cgit v1.2.3