mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Add support for lua-format fixer. (#3804)
This commit is contained in:
committed by
GitHub
parent
8b73d98baf
commit
1e9f40ff8d
@@ -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*
|
||||
|
||||
|
||||
@@ -285,6 +285,7 @@ Notes:
|
||||
* LLVM
|
||||
* `llc`
|
||||
* Lua
|
||||
* `lua-format`
|
||||
* `luac`
|
||||
* `luacheck`
|
||||
* `luafmt`
|
||||
|
||||
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user