From 8315c0e3377921435af06a3182bdc0f1f0f222fc Mon Sep 17 00:00:00 2001 From: w0rp Date: Fri, 7 Jul 2017 00:10:30 +0100 Subject: Make the executable for gometalinter configurable --- doc/ale-go.txt | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'doc') diff --git a/doc/ale-go.txt b/doc/ale-go.txt index e8c8914e..fa743570 100644 --- a/doc/ale-go.txt +++ b/doc/ale-go.txt @@ -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. ------------------------------------------------------------------------------- -- cgit v1.2.3