diff options
author | w0rp <devw0rp@gmail.com> | 2017-05-24 10:23:13 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-05-24 10:23:13 +0100 |
commit | 92ade713f2c9c57bffa3b62550d2fbcd3f5d5d4a (patch) | |
tree | ee6605446931d7c361f864bd168e815b308c81b1 /plugin | |
parent | 58880f33bed9d90ab42808aefdf7b8d9d962f20b (diff) | |
download | ale-92ade713f2c9c57bffa3b62550d2fbcd3f5d5d4a.zip |
#323 Document ale#statusline#Count() instead, and encourage its use
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/ale.vim | 7 |
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'] \) |