mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-16 01:07:06 +08:00
Add support for sqlfmt
This commit is contained in:
25
doc/ale-sql.txt
Normal file
25
doc/ale-sql.txt
Normal file
@@ -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:
|
||||
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user