mirror of
https://github.com/dense-analysis/ale
synced 2024-12-28 17:12:23 +00:00
b7fcec4d17
In a lint context, it's useful to assume that included files sit next to the current file by default. Users can still further customize this configuration variable to add more include paths.
47 lines
1.8 KiB
Plaintext
47 lines
1.8 KiB
Plaintext
===============================================================================
|
|
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.
|
|
|
|
===============================================================================
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|