summaryrefslogtreecommitdiff
path: root/doc/ale-go.txt
blob: 3ae82e801cd516548048a0f643316c827aa21ad5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
===============================================================================
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*

  Type: |Integer|
  Default: 0

  This variable can be change to enable gometalinter for go files.


g:ale_go_gometalinter_options                  *g:ale_go_gometalinter_options*

  Type: |String|
  Default: `''`

  This variable can be changed to alter the command-line arguments to the
  gometalinter invocation.

-------------------------------------------------------------------------------
  vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: