summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/statusline.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/autoload/ale/statusline.vim b/autoload/ale/statusline.vim
index a073f7a0..adb35e7e 100644
--- a/autoload/ale/statusline.vim
+++ b/autoload/ale/statusline.vim
@@ -95,6 +95,11 @@ endfunction
" 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 !get(g:, 'ale_deprecation_ale_statusline_status', 0)
+ echom 'ale#statusline#Status() is deprecated, use ale#statusline#Count() to write your own function.'
+ let g:ale_deprecation_ale_statusline_status = 1
+ endif
+
if !exists('g:ale_statusline_format')
return 'OK'
endif