mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-03 08:53:44 +08:00
#323 Document ale#statusline#Count() instead, and encourage its use
This commit is contained in:
1 parent
58880f33be
commit
92ade713f2
3 files changed
+15
-21
No files matched your search
+2
-5
@@ -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']
|
||||
\)
|
||||
|
||||
Reference in new issue
Block a user