2017-03-30 01:42:16 +00:00
|
|
|
" Author: Ben Reedy <https://github.com/breed808>
|
|
|
|
" Description: gosimple for Go files
|
|
|
|
|
|
|
|
call ale#linter#Define('go', {
|
|
|
|
\ 'name': 'gosimple',
|
|
|
|
\ 'executable': 'gosimple',
|
2021-03-01 20:11:10 +00:00
|
|
|
\ 'cwd': '%s:h',
|
|
|
|
\ 'command': {b -> ale#go#EnvString(b) . 'gosimple .'},
|
2018-03-20 14:19:48 +00:00
|
|
|
\ 'callback': 'ale#handlers#go#Handler',
|
2017-10-31 13:00:55 +00:00
|
|
|
\ 'output_stream': 'both',
|
|
|
|
\ 'lint_file': 1,
|
2017-03-30 01:42:16 +00:00
|
|
|
\})
|