1
0
Fork 0
mirror of synced 2024-05-29 21:41:11 -04:00
ultimate-vim/sources_non_forked/ale/ale_linters/go/gofmt.vim
2018-03-31 11:55:20 -03:00

11 lines
276 B
VimL

" Author: neersighted <bjorn@neersighted.com>
" Description: gofmt for Go files
call ale#linter#Define('go', {
\ 'name': 'gofmt',
\ 'output_stream': 'stderr',
\ 'executable': 'gofmt',
\ 'command': 'gofmt -e %t',
\ 'callback': 'ale#handlers#unix#HandleAsError',
\})