summaryrefslogtreecommitdiff
path: root/ale_linters/haskell/hdevtools.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/haskell/hdevtools.vim')
-rw-r--r--ale_linters/haskell/hdevtools.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/haskell/hdevtools.vim b/ale_linters/haskell/hdevtools.vim
index cc5ce56f..3e55e4f0 100644
--- a/ale_linters/haskell/hdevtools.vim
+++ b/ale_linters/haskell/hdevtools.vim
@@ -14,7 +14,7 @@ endfunction
call ale#linter#Define('haskell', {
\ 'name': 'hdevtools',
-\ 'executable_callback': ale#VarFunc('haskell_hdevtools_executable'),
-\ 'command_callback': 'ale_linters#haskell#hdevtools#GetCommand',
+\ 'executable': {b -> ale#Var(b, 'haskell_hdevtools_executable')},
+\ 'command': function('ale_linters#haskell#hdevtools#GetCommand'),
\ 'callback': 'ale#handlers#haskell#HandleGHCFormat',
\})