summaryrefslogtreecommitdiff
path: root/doc/ale-thrift.txt
blob: 810127b4d50ecffee831935edfe67238ce809f05 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
===============================================================================
ALE Thrift Integration                                     *ale-thrift-options*


===============================================================================
thrift                                                      *ale-thrift-thrift*

The `thrift` linter works by compiling the buffer's contents and reporting any
errors reported by the parser and the configured code generator(s).

g:ale_thrift_thrift_executable                 *g:ale_thrift_thrift_executable*
                                               *b:ale_thrift_thrift_executable*
  Type: |String|
  Default: `'thrift'`

  See |ale-integrations-local-executables|


g:ale_thrift_thrift_generators                 *g:ale_thrift_thrift_generators*
                                               *b:ale_thrift_thrift_generators*
  Type: |List| of |String|s
  Default: `['cpp']`

  This list must contain one or more named code generators. Generator options
  can be included as part of each string, e.g. `['py:dynamic']`.


g:ale_thrift_thrift_includes                     *g:ale_thrift_thrift_includes*
                                                 *b:ale_thrift_thrift_includes*
  Type: |List| of |String|s
  Default: `['.']`

  This list contains paths that will be searched for thrift `include`
  directives.


g:ale_thrift_thrift_options                       *g:ale_thrift_thrift_options*
                                                  *b:ale_thrift_thrift_options*
  Type: |String|
  Default: `'-strict'`

  This variable can be changed to customize the additional command-line
  arguments that are passed to the thrift compiler.

===============================================================================
thriftcheck                                            *ale-thrift-thriftcheck*

g:ale_thrift_thriftcheck_executable       *g:ale_thrift_thriftcheck_executable*
                                          *b:ale_thrift_thriftcheck_executable*
  Type: |String|
  Default: `'thriftcheck'`

  See |ale-integrations-local-executables|


g:ale_thrift_thriftcheck_options             *g:ale_thrift_thriftcheck_options*
                                             *b:ale_thrift_thriftcheck_options*
  Type: |String|
  Default: `''`

  This variable can be changed to customize the additional command-line
  arguments that are passed to thriftcheck.

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