summaryrefslogtreecommitdiff
path: root/plugin/ale.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-07-04 08:36:34 +0100
committerw0rp <devw0rp@gmail.com>2018-07-04 08:36:34 +0100
commitdb85b931ec83de3382b75b7e9a18f1cf8ae8ce43 (patch)
tree83ef9e529fe2cb57c5ee4392cebb31af24b4c69d /plugin/ale.vim
parent602e7fa00f50de2af3a35e1cc0a536be07947d5a (diff)
downloadale-db85b931ec83de3382b75b7e9a18f1cf8ae8ce43.zip
Remove deprecated code for the 2.0 releasev2.0.0
Diffstat (limited to 'plugin/ale.vim')
-rw-r--r--plugin/ale.vim28
1 files changed, 0 insertions, 28 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 2ea30a30..3bd12015 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -32,12 +32,6 @@ if !s:has_features
finish
endif
-" remove in 2.0
-if has('nvim') && !has('nvim-0.2.0') && !get(g:, 'ale_use_deprecated_neovim')
- 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
-
" Set this flag so that other plugins can use it, like airline.
let g:loaded_ale = 1
@@ -231,25 +225,3 @@ augroup ALECleanupGroup
autocmd BufDelete * if exists('*ale#engine#Cleanup') | call ale#engine#Cleanup(str2nr(expand('<abuf>'))) | endif
autocmd QuitPre * call ale#events#QuitEvent(str2nr(expand('<abuf>')))
augroup END
-
-" Backwards Compatibility
-
-" remove in 2.0
-function! ALELint(delay) abort
- if !get(g:, 'ale_deprecation_ale_lint', 0)
- execute 'echom ''ALELint() is deprecated, use ale#Queue() instead.'''
- let g:ale_deprecation_ale_lint = 1
- endif
-
- call ale#Queue(a:delay)
-endfunction
-
-" remove in 2.0
-function! ALEGetStatusLine() abort
- if !get(g:, 'ale_deprecation_ale_get_status_line', 0)
- execute 'echom ''ALEGetStatusLine() is deprecated.'''
- let g:ale_deprecation_ale_get_status_line = 1
- endif
-
- return ale#statusline#Status()
-endfunction