summaryrefslogtreecommitdiff
path: root/ale_linters/haskell/hie.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/haskell/hie.vim')
-rw-r--r--ale_linters/haskell/hie.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/haskell/hie.vim b/ale_linters/haskell/hie.vim
index cc85fbed..c4b5f1df 100644
--- a/ale_linters/haskell/hie.vim
+++ b/ale_linters/haskell/hie.vim
@@ -35,7 +35,7 @@ endfunction
call ale#linter#Define('haskell', {
\ 'name': 'hie',
\ 'lsp': 'stdio',
-\ 'command_callback': 'ale_linters#haskell#hie#GetCommand',
-\ 'executable_callback': ale#VarFunc('haskell_hie_executable'),
-\ 'project_root_callback': 'ale_linters#haskell#hie#GetProjectRoot',
+\ 'command': function('ale_linters#haskell#hie#GetCommand'),
+\ 'executable': {b -> ale#Var(b, 'haskell_hie_executable')},
+\ 'project_root': function('ale_linters#haskell#hie#GetProjectRoot'),
\})