2016-10-11 07:57:42 -04: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 14:40:57 -05:00
|
|
|
\ 'command': 'gofmt -e %t',
|
2016-10-11 08:48:42 -04:00
|
|
|
\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
|
2016-10-11 07:57:42 -04:00
|
|
|
\})
|