2016-10-11 11:57:42 +00:00
|
|
|
" Author: neersighted <bjorn@neersighted.com>
|
|
|
|
" Description: gofmt for Go files
|
|
|
|
|
|
|
|
call ale#linter#Define('go', {
|
|
|
|
\ 'name': 'gofmt',
|
|
|
|
\ 'output_stream': 'stderr',
|
|
|
|
\ 'executable': 'gofmt',
|
2017-02-11 19:40:57 +00:00
|
|
|
\ 'command': 'gofmt -e %t',
|
2016-10-11 12:48:42 +00:00
|
|
|
\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
|
2016-10-11 11:57:42 +00:00
|
|
|
\})
|