summaryrefslogtreecommitdiff
path: root/ale_linters/go/gotype.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/go/gotype.vim')
-rw-r--r--ale_linters/go/gotype.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/go/gotype.vim b/ale_linters/go/gotype.vim
index a678e0f3..159df892 100644
--- a/ale_linters/go/gotype.vim
+++ b/ale_linters/go/gotype.vim
@@ -13,7 +13,7 @@ call ale#linter#Define('go', {
\ 'name': 'gotype',
\ 'output_stream': 'stderr',
\ 'executable': 'gotype',
-\ 'command_callback': 'ale_linters#go#gotype#GetCommand',
+\ 'command': function('ale_linters#go#gotype#GetCommand'),
\ 'callback': 'ale#handlers#go#Handler',
\ 'lint_file': 1,
\})