diff options
author | LEI <guillaume.frichet@gmail.com> | 2018-09-08 00:55:26 +0200 |
---|---|---|
committer | LEI <guillaume.frichet@gmail.com> | 2018-09-08 01:34:10 +0200 |
commit | a97ef49c5174f5d60f2dc68718d96965361f3d4e (patch) | |
tree | addef6b9a9b5b41fe81a5632c4eba95ba047378c /doc | |
parent | 0ae4ea23c8573f9c693fcd5cd5ff9a3acc795b58 (diff) | |
download | ale-a97ef49c5174f5d60f2dc68718d96965361f3d4e.zip |
Add support for sqlfmt
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-sql.txt | 25 | ||||
-rw-r--r-- | doc/ale.txt | 4 |
2 files changed, 28 insertions, 1 deletions
diff --git a/doc/ale-sql.txt b/doc/ale-sql.txt new file mode 100644 index 00000000..75d4b0cf --- /dev/null +++ b/doc/ale-sql.txt @@ -0,0 +1,25 @@ +=============================================================================== +ALE SQL Integration *ale-sql-options* + + +=============================================================================== +sqlfmt *ale-sql-sqlfmt* + +g:ale_sql_sqlfmt_executable *g:ale_sql_sqlfmt_executable* + *b:ale_sql_sqlfmt_executable* + Type: |String| + Default: `'sqlfmt'` + + This variable sets executable used for sqlfmt. + +g:ale_sql_sqlfmt_options *g:ale_sql_sqlfmt_options* + *b:ale_sql_sqlfmt_options* + Type: |String| + Default: `''` + + This variable can be set to pass additional options to the sqlfmt fixer. + At this time only the -u flag is available to format with upper-case. + + +=============================================================================== + vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale.txt b/doc/ale.txt index e08946e5..ae9cbb3c 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -269,6 +269,8 @@ CONTENTS *ale-contents* solium..............................|ale-solidity-solium| spec..................................|ale-spec-options| rpmlint.............................|ale-spec-rpmlint| + sql...................................|ale-sql-options| + sqlfmt..............................|ale-sql-sqlfmt| stylus................................|ale-stylus-options| stylelint...........................|ale-stylus-stylelint| tcl...................................|ale-tcl-options| @@ -438,7 +440,7 @@ Notes: * SML: `smlnj` * Solidity: `solhint`, `solium` * Stylus: `stylelint` -* SQL: `sqlint` +* SQL: `sqlint`, `sqlfmt` * Swift: `swiftlint`, `swiftformat` * Tcl: `nagelfar`!! * Terraform: `tflint` |