summaryrefslogtreecommitdiff
path: root/ale_linters/haskell/stack_build.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/haskell/stack_build.vim')
-rw-r--r--ale_linters/haskell/stack_build.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/haskell/stack_build.vim b/ale_linters/haskell/stack_build.vim
index 95a54587..8f2d9fd9 100644
--- a/ale_linters/haskell/stack_build.vim
+++ b/ale_linters/haskell/stack_build.vim
@@ -16,8 +16,8 @@ call ale#linter#Define('haskell', {
\ 'name': 'stack_build',
\ 'aliases': ['stack-build'],
\ 'output_stream': 'stderr',
-\ 'executable_callback': 'ale#handlers#haskell#GetStackExecutable',
-\ 'command_callback': 'ale_linters#haskell#stack_build#GetCommand',
+\ 'executable': function('ale#handlers#haskell#GetStackExecutable'),
+\ 'command': function('ale_linters#haskell#stack_build#GetCommand'),
\ 'lint_file': 1,
\ 'callback': 'ale#handlers#haskell#HandleGHCFormat',
\})