summaryrefslogtreecommitdiff
path: root/ale_linters/go/golint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/go/golint.vim')
-rw-r--r--ale_linters/go/golint.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/go/golint.vim b/ale_linters/go/golint.vim
index 765e1477..79bfaeb5 100644
--- a/ale_linters/go/golint.vim
+++ b/ale_linters/go/golint.vim
@@ -7,7 +7,7 @@ call ale#Set('go_golint_options', '')
function! ale_linters#go#golint#GetCommand(buffer) abort
let l:options = ale#Var(a:buffer, 'go_golint_options')
- return '%e'
+ return ale#go#EnvString(a:buffer) . '%e'
\ . (!empty(l:options) ? ' ' . l:options : '')
\ . ' %t'
endfunction