Use g:ale_linters for turning gometalinter on, and update documentation as appropriate

This commit is contained in:
w0rp
2017-04-15 21:04:43 +01:00
parent 54991f3082
commit f0d76bc298
4 changed files with 20 additions and 10 deletions
+12
View File
@@ -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*