Make the executable for gometalinter configurable

This commit is contained in:
w0rp
2017-07-07 00:10:30 +01:00
parent 854066e849
commit 8315c0e337
3 changed files with 82 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
===============================================================================
ALE Go Integration *ale-go-options*
ALE Go Integration *ale-go-options*
-------------------------------------------------------------------------------
@@ -21,20 +21,28 @@ while ensuring it doesn't run any linters known to be slow or resource
intensive.
-------------------------------------------------------------------------------
gometalinter *ale-go-gometalinter*
gometalinter *ale-go-gometalinter*
g:ale_go_gometalinter_options *g:ale_go_gometalinter_options*
*b:ale_go_gometalinter_options*
g:ale_go_gometalinter_executable *g:ale_go_gometalinter_executable*
*b:ale_go_gometalinter_executable*
Type: |String|
Default: `'gometalinter'`
The executable that will be run for gometalinter.
g:ale_go_gometalinter_options *g:ale_go_gometalinter_options*
*b:ale_go_gometalinter_options*
Type: |String|
Default: `''`
This variable can be changed to alter the command-line arguments to the
gometalinter invocation.
Since `gometalinter` runs a number of linters that can consume a lot of
resources it's recommended to set this option to a value of `--fast` if you
use `gometalinter` as one of the linters in |g:ale_linters|. This disables a
number of linters known to be slow or consume a lot of resources.
Since `gometalinter` runs a number of linters that can consume a lot of
resources it's recommended to set this option to a value of `--fast` if you
use `gometalinter` as one of the linters in |g:ale_linters|. This disables a
number of linters known to be slow or consume a lot of resources.
-------------------------------------------------------------------------------