summaryrefslogtreecommitdiff
path: root/ale_linters/go/gofmt.vim
blob: b38e4e9836023c7e0e6c6a47a6f88f07f74dec78 (plain)
1
2
3
4
5
6
7
8
9
10
" 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#HandleUnixFormatAsError',
\})