summaryrefslogtreecommitdiff
path: root/ale_linters/go/gosimple.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/go/gosimple.vim')
-rw-r--r--ale_linters/go/gosimple.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/ale_linters/go/gosimple.vim b/ale_linters/go/gosimple.vim
index 281a0e53..ad52c621 100644
--- a/ale_linters/go/gosimple.vim
+++ b/ale_linters/go/gosimple.vim
@@ -2,7 +2,8 @@
" Description: gosimple for Go files
function! ale_linters#go#gosimple#GetCommand(buffer) abort
- return ale#path#BufferCdString(a:buffer) . ' gosimple .'
+ return ale#path#BufferCdString(a:buffer) . ' '
+ \ . ale#go#EnvString(a:buffer) . 'gosimple .'
endfunction
call ale#linter#Define('go', {