Use stdin/stdout to communicate with gofmt

This commit is contained in:
Andrey Popp
2020-10-03 17:57:59 +03:00
parent b91c6c2edd
commit 96ec33e6d6
2 changed files with 3 additions and 14 deletions

View File

@@ -11,9 +11,6 @@ function! ale#fixers#gofmt#Fix(buffer) abort
return {
\ 'command': l:env . ale#Escape(l:executable)
\ . ' -l -w'
\ . (empty(l:options) ? '' : ' ' . l:options)
\ . ' %t',
\ 'read_temporary_file': 1,
\}
endfunction