summaryrefslogtreecommitdiff
path: root/ale_linters/go/gofmt.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/go/gofmt.vim')
-rw-r--r--ale_linters/go/gofmt.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/go/gofmt.vim b/ale_linters/go/gofmt.vim
index 50d25086..b38e4e98 100644
--- a/ale_linters/go/gofmt.vim
+++ b/ale_linters/go/gofmt.vim
@@ -5,6 +5,6 @@ call ale#linter#Define('go', {
\ 'name': 'gofmt',
\ 'output_stream': 'stderr',
\ 'executable': 'gofmt',
-\ 'command': g:ale#util#stdin_wrapper . ' .go gofmt -e',
+\ 'command': 'gofmt -e %t',
\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
\})