diff options
Diffstat (limited to 'doc/ale-go.txt')
-rw-r--r-- | doc/ale-go.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/ale-go.txt b/doc/ale-go.txt index c97f599e..1d55763e 100644 --- a/doc/ale-go.txt +++ b/doc/ale-go.txt @@ -135,4 +135,37 @@ g:ale_go_langserver_options *g:ale_go_langserver_options* =============================================================================== +golangci-lint *ale-go-golangci-lint* + +`golangci-lint` is a `lint_file` linter, which only lints files that are +written to disk. This differs from the default behavior of linting the buffer. +See: |ale-lint-file| + +g:ale_go_golangci_lint_executable *g:ale_go_golangci_lint_executable* + *b:ale_go_golangci_lint_executable* + Type: |String| + Default: `'golangci-lint'` + + The executable that will be run for golangci-lint. + + +g:ale_go_golangci_lint_options *g:ale_go_golangci_lint_options* + *b:ale_go_golangci_lint_options* + Type: |String| + Default: `'--enable-all'` + + This variable can be changed to alter the command-line arguments to the + golangci-lint invocation. + + +g:ale_go_golangci_lint_package *g:ale_go_golangci_lint_package* + *b:ale_go_golangci_lint_package* + Type: |Number| + Default: `0` + + When set to `1`, the whole Go package will be checked instead of only the + current file. + + +=============================================================================== vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: |