summaryrefslogtreecommitdiff
path: root/doc/ale-go.txt
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-04-15 21:04:43 +0100
committerw0rp <devw0rp@gmail.com>2017-04-15 21:04:43 +0100
commitf0d76bc298778789072b87b73789141c750f1f50 (patch)
treef3039d3ae48eab6e4c2ebe16b15c4657a0cc0f8b /doc/ale-go.txt
parent54991f3082108cb41e5be06a068e3e0472b858b9 (diff)
downloadale-f0d76bc298778789072b87b73789141c750f1f50.zip
Use g:ale_linters for turning gometalinter on, and update documentation as appropriate
Diffstat (limited to 'doc/ale-go.txt')
-rw-r--r--doc/ale-go.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/ale-go.txt b/doc/ale-go.txt
index e086bcd7..3ae82e80 100644
--- a/doc/ale-go.txt
+++ b/doc/ale-go.txt
@@ -3,6 +3,18 @@ ALE Go Integration *ale-go-options*
-------------------------------------------------------------------------------
+Integration Information
+
+The `gometalinter` linter is disabled by default, and all other Go linters
+supported by ALE are enabled by default. To enable `gometalinter`, update
+|g:ale_linters| as appropriate:
+
+>
+ " Enable all of the linters you want for Go.
+ let g:ale_linters = {'go': ['gometalinter', 'gofmt']}
+<
+
+-------------------------------------------------------------------------------
gometalinter *ale-go-gometalinter*
g:ale_go_gometalinter_enabled *g:ale_go_gometalinter_enabled*