mirror of
https://github.com/dense-analysis/ale
synced 2024-12-22 06:10:07 +00:00
11 lines
276 B
VimL
11 lines
276 B
VimL
" 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',
|
|
\})
|