summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2021-05-27 22:03:39 +0100
committerw0rp <devw0rp@gmail.com>2021-05-27 22:03:46 +0100
commit1b08791228f5aca4545a3fba6699b29a003028fe (patch)
tree42cb78fe66f93100217ecb1230c269c26d58db1b /doc
parenta02a4f2811f810877f3c3859cca963f9578ff94a (diff)
downloadale-1b08791228f5aca4545a3fba6699b29a003028fe.zip
Make staticcheck configurable with GOPATH detection
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-go.txt24
1 files changed, 22 insertions, 2 deletions
diff --git a/doc/ale-go.txt b/doc/ale-go.txt
index e2616a62..7813c7b3 100644
--- a/doc/ale-go.txt
+++ b/doc/ale-go.txt
@@ -20,8 +20,8 @@ the benefit of running a number of linters, more than ALE would by default,
while ensuring it doesn't run any linters known to be slow or resource
intensive.
-g:ale_go_go_executable *g:ale_go_go_options*
- *b:ale_go_go_options*
+g:ale_go_go_executable *g:ale_go_go_executable*
+ *b:ale_go_go_executable*
Type: |String|
Default: `'go'`
@@ -289,6 +289,18 @@ g:ale_go_revive_options *g:ale_go_revive_options*
===============================================================================
staticcheck *ale-go-staticcheck*
+g:ale_go_staticcheck_executable *g:ale_go_staticcheck_executable*
+ *b:ale_go_staticcheck_executable*
+ Type: |String|
+ Default: `'staticcheck'`
+
+ See |ale-integrations-local-executables|
+
+ ALE will search for `staticcheck` in locally installed directories first by
+ default, and fall back on a globally installed `staticcheck` if it can't be
+ found otherwise.
+
+
g:ale_go_staticcheck_options *g:ale_go_staticcheck_options*
*b:ale_go_staticcheck_options*
Type: |String|
@@ -307,5 +319,13 @@ g:ale_go_staticcheck_lint_package *g:ale_go_staticcheck_lint_package*
current file.
+g:ale_go_staticcheck_use_global *g:ale_go_staticcheck_use_global*
+ *b:ale_go_staticcheck_use_global*
+ Type: |String|
+ Default: `get(g:, 'ale_use_global_executables', 0)`
+
+ See |ale-integrations-local-executables|
+
+
===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: