Close #2132 - Add deprecation warnings for old features

This commit is contained in:
w0rp
2019-04-07 16:24:08 +01:00
parent e85eb82401
commit ce64e349cd
5 changed files with 33 additions and 9 deletions

View File

@@ -25,10 +25,10 @@ Before:
call ale#linter#Define('testft', {
\ 'name': 'lsplinter',
\ 'lsp': 'tsserver',
\ 'executable_callback': 'EmptyString',
\ 'command_callback': 'EmptyString',
\ 'project_root_callback': 'EmptyString',
\ 'language_callback': 'EmptyString',
\ 'executable': function('EmptyString'),
\ 'command': function('EmptyString'),
\ 'project_root': function('EmptyString'),
\ 'language': function('EmptyString'),
\})
call ale#linter#Define('testft', {

View File

@@ -35,3 +35,5 @@ set ttimeoutlen=0
execute 'set encoding=utf-8'
let g:mapleader=','
let g:ale_ignore_2_4_warnings = 1