summaryrefslogtreecommitdiff
path: root/ale_linters/crystal/ameba.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/crystal/ameba.vim')
-rw-r--r--ale_linters/crystal/ameba.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/crystal/ameba.vim b/ale_linters/crystal/ameba.vim
index a1bf9c1d..5dfc7f45 100644
--- a/ale_linters/crystal/ameba.vim
+++ b/ale_linters/crystal/ameba.vim
@@ -50,8 +50,8 @@ endfunction
call ale#linter#Define('crystal', {
\ 'name': 'ameba',
-\ 'executable_callback': ale#VarFunc('crystal_ameba_executable'),
-\ 'command_callback': 'ale_linters#crystal#ameba#GetCommand',
+\ 'executable': {b -> ale#Var(b, 'crystal_ameba_executable')},
+\ 'command': function('ale_linters#crystal#ameba#GetCommand'),
\ 'callback': 'ale_linters#crystal#ameba#HandleAmebaOutput',
\ 'lint_file': 1,
\})