summaryrefslogtreecommitdiff
path: root/ale_linters/go/gofmt.vim
blob: 337deef89d9645c600a726e7d0065af64d61d456 (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#unix#HandleAsError',
\})