summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-08-30 19:46:17 +0100
committerGitHub <noreply@github.com>2017-08-30 19:46:17 +0100
commitb8f5a4923c774e1e426d30d29834393c2636a653 (patch)
tree9fd69f2c9933766853c8481416efc3fa0cc22653 /doc
parentc7536fb4fdf76747dc3920cb21f39fd702477c90 (diff)
parentf4c5d29c64ccb1aa02a0d77ca84e52b0ef84eca0 (diff)
downloadale-b8f5a4923c774e1e426d30d29834393c2636a653.zip
Merge pull request #892 from jparise/thrift
Add a linter for Apache Thrift IDL files
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-thrift.txt46
-rw-r--r--doc/ale.txt3
2 files changed, 49 insertions, 0 deletions
diff --git a/doc/ale-thrift.txt b/doc/ale-thrift.txt
new file mode 100644
index 00000000..ed858db8
--- /dev/null
+++ b/doc/ale-thrift.txt
@@ -0,0 +1,46 @@
+===============================================================================
+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:
diff --git a/doc/ale.txt b/doc/ale.txt
index e3a098e9..bbe09900 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -127,6 +127,8 @@ CONTENTS *ale-contents*
tex...................................|ale-tex-options|
chktex..............................|ale-tex-chktex|
lacheck.............................|ale-tex-lacheck|
+ thrift................................|ale-thrift-options|
+ thrift..............................|ale-thrift-thrift|
typescript............................|ale-typescript-options|
eslint..............................|ale-typescript-eslint|
tslint..............................|ale-typescript-tslint|
@@ -248,6 +250,7 @@ Notes:
* Tcl: `nagelfar`!!
* Texinfo: `proselint`
* Text^: `proselint`, `vale`
+* Thrift: `thrift`
* TypeScript: `eslint`, `tslint`, `tsserver`, `typecheck`
* Verilog: `iverilog`, `verilator`
* Vim: `vint`