From 16b43a5708f993fc822c50053090a136578e1b33 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 10 Apr 2019 19:53:11 +0100 Subject: Do not complain about generated _callback settings --- autoload/ale/linter.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/ale/linter.vim b/autoload/ale/linter.vim index 273778c7..8c657675 100644 --- a/autoload/ale/linter.vim +++ b/autoload/ale/linter.vim @@ -340,7 +340,7 @@ function! ale#linter#PreProcess(filetype, linter) abort throw '`aliases` must be a List of String values' endif - for l:key in filter(keys(l:obj), 'v:val[-9:] is# ''_callback'' || v:val is# ''command_chain''') + for l:key in filter(keys(a:linter), 'v:val[-9:] is# ''_callback'' || v:val is# ''command_chain''') if !get(g:, 'ale_ignore_2_4_warnings') execute 'echom l:key . '' is deprecated. Use `let g:ale_ignore_2_4_warnings = 1` to disable this message.''' endif -- cgit v1.2.3