summaryrefslogtreecommitdiff
path: root/ale_linters/go/golangci_lint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/go/golangci_lint.vim')
-rw-r--r--ale_linters/go/golangci_lint.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/go/golangci_lint.vim b/ale_linters/go/golangci_lint.vim
index dd9a3c64..357f7949 100644
--- a/ale_linters/go/golangci_lint.vim
+++ b/ale_linters/go/golangci_lint.vim
@@ -49,8 +49,8 @@ endfunction
call ale#linter#Define('go', {
\ 'name': 'golangci-lint',
-\ 'executable_callback': ale#VarFunc('go_golangci_lint_executable'),
-\ 'command_callback': 'ale_linters#go#golangci_lint#GetCommand',
+\ 'executable': {b -> ale#Var(b, 'go_golangci_lint_executable')},
+\ 'command': function('ale_linters#go#golangci_lint#GetCommand'),
\ 'callback': 'ale_linters#go#golangci_lint#Handler',
\ 'lint_file': 1,
\})