Indicate things to be removed in version 2.0

This commit is contained in:
w0rp
2018-05-28 19:39:49 +01:00
parent f2837b5802
commit c0a279f967
3 changed files with 8 additions and 0 deletions

View File

@@ -367,6 +367,7 @@ function! ale#engine#SetResults(buffer, loclist) abort
" Call user autocommands. This allows users to hook into ALE's lint cycle.
silent doautocmd <nomodeline> User ALELintPost
" remove in 2.0
" Old DEPRECATED name; call it for backwards compatibility.
silent doautocmd <nomodeline> User ALELint
endif

View File

@@ -1,6 +1,8 @@
" Author: KabbAmine <amine.kabb@gmail.com>
" Description: Statusline related function(s)
" remove in 2.0
"
" 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',
@@ -96,6 +98,8 @@ function! s:StatusForListFormat() abort
return l:res
endfunction
" remove in 2.0
"
" Returns a formatted string that can be integrated in the statusline.
"
" This function is deprecated, and should not be used. Use the airline plugin