Add stylua fixer for lua (#3789)

This commit is contained in:
Robert Liebowitz
2021-07-03 05:50:48 -04:00
committed by GitHub
parent b749ec702a
commit 0d90cb64c6
7 changed files with 61 additions and 0 deletions

View File

@@ -46,5 +46,25 @@ g:ale_lua_luafmt_options *g:ale_lua_luafmt_options*
Default: `''`
This variable can be set to pass additional options to the luafmt fixer.
===============================================================================
stylua *ale-lua-stylua*
g:ale_lua_stylua_executable *g:ale_lua_stylua_executable*
*b:ale_lua_stylua_executable*
Type: |String|
Default: `'stylua'`
This variable can be set to use a different executable for stylua.
g:ale_lua_stylua_options *g:ale_lua_stylua_options*
*b:ale_lua_stylua_options*
Type: |String|
Default: `''`
This variable can be set to pass additional options to the stylua fixer.
===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:

View File

@@ -288,6 +288,7 @@ Notes:
* `luac`
* `luacheck`
* `luafmt`
* `stylua`
* Mail
* `alex`!!
* `languagetool`!!

View File

@@ -2843,6 +2843,7 @@ documented in additional help files.
luac..................................|ale-lua-luac|
luacheck..............................|ale-lua-luacheck|
luafmt................................|ale-lua-luafmt|
stylua................................|ale-lua-stylua|
markdown................................|ale-markdown-options|
markdownlint..........................|ale-markdown-markdownlint|
mdl...................................|ale-markdown-mdl|