mirror of https://github.com/dense-analysis/ale
Satisfy my own checks
This commit is contained in:
parent
f476c28b29
commit
193a4b9336
|
@ -96,7 +96,7 @@ endfunction
|
|||
" 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.'
|
||||
execute 'echom ''ale#statusline#Status() is deprecated, use ale#statusline#Count() to write your own function.'''
|
||||
let g:ale_deprecation_ale_statusline_status = 1
|
||||
endif
|
||||
|
||||
|
|
|
@ -33,8 +33,8 @@ if !s:has_features
|
|||
endif
|
||||
|
||||
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.'
|
||||
echom 'Use `let g:ale_use_deprecated_neovim = 1` to silence this warning for now.'
|
||||
execute 'echom ''ALE support for NeoVim versions below 0.2.0 is deprecated.'''
|
||||
execute 'echom ''Use `let g:ale_use_deprecated_neovim = 1` to silence this warning for now.'''
|
||||
endif
|
||||
|
||||
" This flag can be set to 0 to disable emitting conflict warnings.
|
||||
|
@ -304,7 +304,7 @@ augroup END
|
|||
|
||||
function! ALELint(delay) abort
|
||||
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
|
||||
endif
|
||||
|
||||
|
@ -313,7 +313,7 @@ endfunction
|
|||
|
||||
function! ALEGetStatusLine() abort
|
||||
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
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue