diff options
author | w0rp <devw0rp@gmail.com> | 2019-02-22 18:05:04 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-02-22 18:05:04 +0000 |
commit | 883978ece93bd19250d6d7e8b9659b48f23522e2 (patch) | |
tree | 8ac9417b7c980906295745cc5ea709b91a789390 /ale_linters/vim | |
parent | f53b25d2567a2f7495dab444680596f48de427d1 (diff) | |
download | ale-883978ece93bd19250d6d7e8b9659b48f23522e2.zip |
#2132 - Replace all uses of foo_callback with foo
Diffstat (limited to 'ale_linters/vim')
-rw-r--r-- | ale_linters/vim/ale_custom_linting_rules.vim | 4 | ||||
-rw-r--r-- | ale_linters/vim/vint.vim | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/vim/ale_custom_linting_rules.vim b/ale_linters/vim/ale_custom_linting_rules.vim index 3abe5d4b..822eb30a 100644 --- a/ale_linters/vim/ale_custom_linting_rules.vim +++ b/ale_linters/vim/ale_custom_linting_rules.vim @@ -58,8 +58,8 @@ endfunction call ale#linter#Define('vim', { \ 'name': 'ale_custom_linting_rules', -\ 'executable_callback': 'ale_linters#vim#ale_custom_linting_rules#GetExecutable', -\ 'command_callback': 'ale_linters#vim#ale_custom_linting_rules#GetCommand', +\ 'executable': function('ale_linters#vim#ale_custom_linting_rules#GetExecutable'), +\ 'command': function('ale_linters#vim#ale_custom_linting_rules#GetCommand'), \ 'callback': 'ale_linters#vim#ale_custom_linting_rules#Handle', \ 'read_buffer': 0, \}) diff --git a/ale_linters/vim/vint.vim b/ale_linters/vim/vint.vim index cf2d4afd..3808c47e 100644 --- a/ale_linters/vim/vint.vim +++ b/ale_linters/vim/vint.vim @@ -65,7 +65,7 @@ endfunction call ale#linter#Define('vim', { \ 'name': 'vint', -\ 'executable_callback': 'ale_linters#vim#vint#GetExecutable', +\ 'executable': function('ale_linters#vim#vint#GetExecutable'), \ 'command_chain': [ \ {'callback': 'ale_linters#vim#vint#VersionCommand', 'output_stream': 'stderr'}, \ {'callback': 'ale_linters#vim#vint#GetCommand', 'output_stream': 'stdout'}, |