summaryrefslogtreecommitdiff
path: root/ale_linters/go/gofmt.vim
blob: 50d250866a298fa02ffa4d6495e2ac6c57f0fb12 (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': g:ale#util#stdin_wrapper . ' .go gofmt -e',
\   'callback': 'ale#handlers#HandleUnixFormatAsError',
\})