Satisfy my own checks

This commit is contained in:
w0rp 2018-03-03 18:13:57 +00:00
parent f476c28b29
commit 193a4b9336
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83
2 changed files with 5 additions and 5 deletions

View File

@ -96,7 +96,7 @@ endfunction
" instead, or write your own status function with ale#statusline#Count() " instead, or write your own status function with ale#statusline#Count()
function! ale#statusline#Status() abort function! ale#statusline#Status() abort
if !get(g:, 'ale_deprecation_ale_statusline_status', 0) if !get(g:, 'ale_deprecation_ale_statusline_status', 0)
echom 'ale#statusline#Status() is deprecated, use ale#statusline#Count() to write your own function.' execute 'echom ''ale#statusline#Status() is deprecated, use ale#statusline#Count() to write your own function.'''
let g:ale_deprecation_ale_statusline_status = 1 let g:ale_deprecation_ale_statusline_status = 1
endif endif

View File

@ -33,8 +33,8 @@ if !s:has_features
endif endif
if has('nvim') && !has('nvim-0.2.0') && !get(g:, 'ale_use_deprecated_neovim') if has('nvim') && !has('nvim-0.2.0') && !get(g:, 'ale_use_deprecated_neovim')
echom 'ALE support for NeoVim versions below 0.2.0 is deprecated.' execute 'echom ''ALE support for NeoVim versions below 0.2.0 is deprecated.'''
echom 'Use `let g:ale_use_deprecated_neovim = 1` to silence this warning for now.' execute 'echom ''Use `let g:ale_use_deprecated_neovim = 1` to silence this warning for now.'''
endif endif
" This flag can be set to 0 to disable emitting conflict warnings. " This flag can be set to 0 to disable emitting conflict warnings.
@ -304,7 +304,7 @@ augroup END
function! ALELint(delay) abort function! ALELint(delay) abort
if !get(g:, 'ale_deprecation_ale_lint', 0) if !get(g:, 'ale_deprecation_ale_lint', 0)
echom 'ALELint() is deprecated, use ale#Queue() instead.' execute 'echom ''ALELint() is deprecated, use ale#Queue() instead.'''
let g:ale_deprecation_ale_lint = 1 let g:ale_deprecation_ale_lint = 1
endif endif
@ -313,7 +313,7 @@ endfunction
function! ALEGetStatusLine() abort function! ALEGetStatusLine() abort
if !get(g:, 'ale_deprecation_ale_get_status_line', 0) if !get(g:, 'ale_deprecation_ale_get_status_line', 0)
echom 'ALEGetStatusLine() is deprecated.' execute 'echom ''ALEGetStatusLine() is deprecated.'''
let g:ale_deprecation_ale_get_status_line = 1 let g:ale_deprecation_ale_get_status_line = 1
endif endif