You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
276 B
VimL
11 lines
276 B
VimL
7 years ago
|
" 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',
|
||
|
\})
|