diff options
author | pigfrown <pigfrown@protonmail.com> | 2021-08-09 02:13:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-09 10:13:43 +0900 |
commit | 836125391a75094e4c7e157664bb00ffb86a8b37 (patch) | |
tree | fd0f7e13ffcfd8710a12fe0e498b97a1f24d6ad9 /doc | |
parent | d6f5fb69ad49ad8377fafb2fdfe80819d39f5f01 (diff) | |
download | ale-836125391a75094e4c7e157664bb00ffb86a8b37.zip |
Adds fixer for golines (#3862)
* Adds fixer for golines
* Repositions golines docs to be in alphabetical order
* Fixes golines doc tag
* Fixes formatting for golines docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-go.txt | 17 | ||||
-rw-r--r-- | doc/ale-supported-languages-and-tools.txt | 1 | ||||
-rw-r--r-- | doc/ale.txt | 3 |
3 files changed, 20 insertions, 1 deletions
diff --git a/doc/ale-go.txt b/doc/ale-go.txt index 7813c7b3..2f1e4c1c 100644 --- a/doc/ale-go.txt +++ b/doc/ale-go.txt @@ -133,6 +133,23 @@ g:ale_go_langserver_options *g:ale_go_langserver_options* `-gocodecompletion` option is ignored because it is handled automatically by the |g:ale_completion_enabled| variable. +=============================================================================== +golines *ale-go-golines* + +g:ale_go_golines_executable *g:ale_go_lines_executable* + *b:ale_go_lines_executable* + Type: |String| + Default: `'golines'` + + Location of the golines binary file + +g:ale_go_golines_options *g:ale_go_golines_options* + *b:ale_go_golines_options* + Type: |String| + Default: '' + + Additional options passed to the golines command. By default golines has + --max-length=100 (lines above 100 characters will be wrapped) =============================================================================== golint *ale-go-golint* diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt index fa089bbb..0247a743 100644 --- a/doc/ale-supported-languages-and-tools.txt +++ b/doc/ale-supported-languages-and-tools.txt @@ -183,6 +183,7 @@ Notes: * `goimports` * `golangci-lint`!! * `golangserver` + * `golines` * `golint` * `gometalinter`!! * `gopls` diff --git a/doc/ale.txt b/doc/ale.txt index e871f1ff..85646dd9 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -1,4 +1,4 @@ -*ale.txt* Plugin to lint and fix files asynchronously +*ale.txt* Plugin to lint and fix files asynchronously *ale* ALE - Asynchronous Lint Engine @@ -2750,6 +2750,7 @@ documented in additional help files. gofmt.................................|ale-go-gofmt| golangci-lint.........................|ale-go-golangci-lint| golangserver..........................|ale-go-golangserver| + golines...............................|ale-go-golines| golint................................|ale-go-golint| gometalinter..........................|ale-go-gometalinter| gopls.................................|ale-go-gopls| |