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