Add support for lua-format fixer. (#3804)

This commit is contained in:
Mathias Jean Johansen
2021-07-09 16:54:43 +02:00
committed by GitHub
parent 8b73d98baf
commit 1e9f40ff8d
7 changed files with 77 additions and 0 deletions

View File

@@ -1,6 +1,24 @@
===============================================================================
ALE Lua Integration *ale-lua-options*
===============================================================================
lua-format *ale-lua-lua-format*
g:ale_lua_lua_format_executable *g:ale_lua_lua_format_executable*
*b:ale_lua_lua_format_executable*
Type: |String|
Default: `'lua-format'`
This variable can be changed to change the path to lua-format.
g:ale_lua_lua_format_options *g:ale_lua_lua_format_options*
*b:ale_lua_lua_format_options*
Type: |String|
Default: `''`
This variable can be set to pass additional options to lua-format.
===============================================================================
luac *ale-lua-luac*

View File

@@ -285,6 +285,7 @@ Notes:
* LLVM
* `llc`
* Lua
* `lua-format`
* `luac`
* `luacheck`
* `luafmt`

View File

@@ -2840,6 +2840,7 @@ documented in additional help files.
llvm....................................|ale-llvm-options|
llc...................................|ale-llvm-llc|
lua.....................................|ale-lua-options|
lua-format............................|ale-lua-lua-format|
luac..................................|ale-lua-luac|
luacheck..............................|ale-lua-luacheck|
luafmt................................|ale-lua-luafmt|