summaryrefslogtreecommitdiff
path: root/ale_linters/awk/gawk.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/awk/gawk.vim')
-rw-r--r--ale_linters/awk/gawk.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/awk/gawk.vim b/ale_linters/awk/gawk.vim
index eb92e45e..f795c57d 100644
--- a/ale_linters/awk/gawk.vim
+++ b/ale_linters/awk/gawk.vim
@@ -15,8 +15,8 @@ endfunction
call ale#linter#Define('awk', {
\ 'name': 'gawk',
-\ 'executable_callback': ale#VarFunc('awk_gawk_executable'),
-\ 'command_callback': 'ale_linters#awk#gawk#GetCommand',
+\ 'executable': {b -> ale#Var(b, 'awk_gawk_executable')},
+\ 'command': function('ale_linters#awk#gawk#GetCommand'),
\ 'callback': 'ale#handlers#gawk#HandleGawkFormat',
\ 'output_stream': 'both'
\})