summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoraliou <aliou@users.noreply.github.com>2017-10-03 19:54:35 +0200
committerw0rp <w0rp@users.noreply.github.com>2017-10-03 18:54:35 +0100
commite376f0ae44f0656021a8c8945212dc27105b34fe (patch)
tree0069e4df1b6804c221b426e6bac4193dfed77e33 /doc
parent3ab414de1a9591b3c3545124329645ec4621cc60 (diff)
downloadale-e376f0ae44f0656021a8c8945212dc27105b34fe.zip
gofmt fixer for Go (#970)
Add a gofmt fixer for golang.
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-go.txt10
-rw-r--r--doc/ale.txt1
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/ale-go.txt b/doc/ale-go.txt
index 935f491f..c5a68878 100644
--- a/doc/ale-go.txt
+++ b/doc/ale-go.txt
@@ -21,6 +21,16 @@ while ensuring it doesn't run any linters known to be slow or resource
intensive.
===============================================================================
+gofmt *ale-go-gofmt*
+
+g:ale_go_gofmt_options *g:ale_go_gofmt_options*
+ *b:ale_go_gofmt_options*
+ Type: |String|
+ Default: `''`
+
+ This variable can be set to pass additional options to the gofmt fixer.
+
+===============================================================================
gometalinter *ale-go-gometalinter*
`gometalinter` is a `lint_file` linter, which only lints files that are
diff --git a/doc/ale.txt b/doc/ale.txt
index afdc918c..ba08a454 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -62,6 +62,7 @@ CONTENTS *ale-contents*
glsl..................................|ale-glsl-options|
glslang.............................|ale-glsl-glslang|
go....................................|ale-go-options|
+ gofmt...............................|ale-go-gofmt|
gometalinter........................|ale-go-gometalinter|
graphql...............................|ale-graphql-options|
gqlint..............................|ale-graphql-gqlint|