summaryrefslogtreecommitdiff
path: root/ale_linters/vim/ale_custom_linting_rules.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/vim/ale_custom_linting_rules.vim')
-rw-r--r--ale_linters/vim/ale_custom_linting_rules.vim4
1 files changed, 2 insertions, 2 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,
\})