summaryrefslogtreecommitdiff
path: root/plugin/ale.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-05-24 10:23:13 +0100
committerw0rp <devw0rp@gmail.com>2017-05-24 10:23:13 +0100
commit92ade713f2c9c57bffa3b62550d2fbcd3f5d5d4a (patch)
treeee6605446931d7c361f864bd168e815b308c81b1 /plugin/ale.vim
parent58880f33bed9d90ab42808aefdf7b8d9d962f20b (diff)
downloadale-92ade713f2c9c57bffa3b62550d2fbcd3f5d5d4a.zip
#323 Document ale#statusline#Count() instead, and encourage its use
Diffstat (limited to 'plugin/ale.vim')
-rw-r--r--plugin/ale.vim7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index cf97032a..8c674a36 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -142,11 +142,8 @@ let g:ale_echo_msg_warning_str = get(g:, 'ale_echo_msg_warning_str', 'Warning')
" This flag can be set to 0 to disable echoing when the cursor moves.
let g:ale_echo_cursor = get(g:, 'ale_echo_cursor', 1)
-" String format for statusline
-" Its a list where:
-" * The 1st element is for errors
-" * The 2nd element is for warnings
-" * The 3rd element is when there are no errors
+" A deprecated setting for ale#statusline#Status()
+" See :help ale#statusline#Count() for getting status reports.
let g:ale_statusline_format = get(g:, 'ale_statusline_format',
\ ['%d error(s)', '%d warning(s)', 'OK']
\)