#323 Document ale#statusline#Count() instead, and encourage its use

This commit is contained in:
w0rp
2017-05-24 10:23:13 +01:00
parent 58880f33be
commit 92ade713f2
3 changed files with 15 additions and 21 deletions

View File

@@ -90,6 +90,9 @@ function! s:StatusForListFormat() abort
endfunction
" Returns a formatted string that can be integrated in the statusline.
"
" This function is deprecated, and should not be used. Use the airline plugin
" instead, or write your own status function with ale#statusline#Count()
function! ale#statusline#Status() abort
if !exists('g:ale_statusline_format')
return 'OK'