summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-04-10 19:53:11 +0100
committerw0rp <devw0rp@gmail.com>2019-04-10 19:53:11 +0100
commit16b43a5708f993fc822c50053090a136578e1b33 (patch)
tree50ded0b0584cfa9629dee402841e325b87bba4a6
parent2ef3f9806c93ac7f171d3045d8787f8e5b8908e7 (diff)
downloadale-16b43a5708f993fc822c50053090a136578e1b33.zip
Do not complain about generated _callback settings
-rw-r--r--autoload/ale/linter.vim2
1 files changed, 1 insertions, 1 deletions
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