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