Merge pull request #3381 from andreypopp/gofmt-stding-stdout

Use stdin/stdout to communicate with gofmt
This commit is contained in:
Horacio Sanson
2020-11-29 18:59:48 +09:00
committed by GitHub
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