summaryrefslogtreecommitdiff
path: root/ale_linters/terraform/tflint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/terraform/tflint.vim')
-rw-r--r--ale_linters/terraform/tflint.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/terraform/tflint.vim b/ale_linters/terraform/tflint.vim
index 0d77835a..6d54a8b1 100644
--- a/ale_linters/terraform/tflint.vim
+++ b/ale_linters/terraform/tflint.vim
@@ -52,7 +52,7 @@ endfunction
call ale#linter#Define('terraform', {
\ 'name': 'tflint',
-\ 'executable_callback': ale#VarFunc('terraform_tflint_executable'),
-\ 'command_callback': 'ale_linters#terraform#tflint#GetCommand',
+\ 'executable': {b -> ale#Var(b, 'terraform_tflint_executable')},
+\ 'command': function('ale_linters#terraform#tflint#GetCommand'),
\ 'callback': 'ale_linters#terraform#tflint#Handle',
\})