2017-04-13 09:27:09 +00:00
|
|
|
===============================================================================
|
|
|
|
ALE Go Integration *ale-go-options*
|
|
|
|
|
|
|
|
|
2017-04-15 20:04:43 +00:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
Integration Information
|
|
|
|
|
|
|
|
The `gometalinter` linter is disabled by default, and all other Go linters
|
|
|
|
supported by ALE are enabled by default. To enable `gometalinter`, update
|
|
|
|
|g:ale_linters| as appropriate:
|
|
|
|
>
|
|
|
|
" Enable all of the linters you want for Go.
|
|
|
|
let g:ale_linters = {'go': ['gometalinter', 'gofmt']}
|
|
|
|
<
|
|
|
|
|
2017-04-13 09:27:09 +00:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
gometalinter *ale-go-gometalinter*
|
|
|
|
|
|
|
|
g:ale_go_gometalinter_options *g:ale_go_gometalinter_options*
|
2017-04-27 21:04:34 +00:00
|
|
|
*b:ale_go_gometalinter_options*
|
2017-04-13 09:27:09 +00:00
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be changed to alter the command-line arguments to the
|
|
|
|
gometalinter invocation.
|
|
|
|
|
2017-04-27 21:04:34 +00:00
|
|
|
|
2017-04-13 09:27:09 +00:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|