From f0d76bc298778789072b87b73789141c750f1f50 Mon Sep 17 00:00:00 2001 From: w0rp Date: Sat, 15 Apr 2017 21:04:43 +0100 Subject: Use g:ale_linters for turning gometalinter on, and update documentation as appropriate --- doc/ale-go.txt | 12 ++++++++++++ doc/ale.txt | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'doc') 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 @@ -2,6 +2,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* diff --git a/doc/ale.txt b/doc/ale.txt index 85409fc2..e3ecb43c 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -31,6 +31,8 @@ CONTENTS *ale-contents* erlc................................|ale-erlang-erlc| fortran...............................|ale-fortran-options| gcc.................................|ale-fortran-gcc| + go....................................|ale-go-options| + gometalinter........................|ale-go-gometalinter| handlebars............................|ale-handlebars-options| ember-template-lint.................|ale-handlebars-embertemplatelint| html..................................|ale-html-options| @@ -123,7 +125,7 @@ The following languages and tools are supported. * Elm: 'elm-make' * Erlang: 'erlc' * Fortran: 'gcc' -* Go: 'gofmt -e', 'go vet', 'golint', 'go build', 'gosimple', 'staticcheck' +* Go: 'gofmt', 'go vet', 'golint', 'go build', 'gosimple', 'staticcheck' * Haml: 'hamllint' * Handlebars: 'ember-template-lint' * Haskell: 'ghc', 'hlint' -- cgit v1.2.3