summaryrefslogtreecommitdiff
path: root/doc/ale-go.txt
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/ale-go.txt
parent3ab414de1a9591b3c3545124329645ec4621cc60 (diff)
downloadale-e376f0ae44f0656021a8c8945212dc27105b34fe.zip
gofmt fixer for Go (#970)
Add a gofmt fixer for golang.
Diffstat (limited to 'doc/ale-go.txt')
-rw-r--r--doc/ale-go.txt10
1 files changed, 10 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