2018-03-31 10:55:20 -04:00
|
|
|
===============================================================================
|
|
|
|
ALE Lua Integration *ale-lua-options*
|
|
|
|
|
2022-08-08 09:45:56 -04:00
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
cspell *ale-lua-cspell*
|
|
|
|
|
|
|
|
See |ale-cspell-options|
|
|
|
|
|
|
|
|
|
2021-07-30 16:52:54 -04:00
|
|
|
===============================================================================
|
|
|
|
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.
|
|
|
|
|
2022-08-08 09:45:56 -04:00
|
|
|
|
2021-07-30 16:52:54 -04:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
2023-04-01 16:48:04 -04:00
|
|
|
===============================================================================
|
|
|
|
lua-language-server *ale-lua-lua-language-server*
|
|
|
|
*ale-lua-language-server*
|
|
|
|
|
|
|
|
g:ale_lua_language_server_executable *g:ale_lua_language_server_executable*
|
|
|
|
*b:ale_lua_language_server_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'lua-language-server'`
|
|
|
|
|
|
|
|
This variable can be changed to set the path to lua-language-server.
|
|
|
|
|
|
|
|
If you have compiled the language server yourself in `/some/path`, the path
|
|
|
|
will be `'/some/path/bin/lua-language-server'`.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_lua_lua_language_server_config *g:ale_lua_lua_language_server_config*
|
|
|
|
*b:ale_lua_lua_language_server_config*
|
|
|
|
Type: |Dictionary|
|
|
|
|
Default: `{}`
|
|
|
|
|
|
|
|
Dictionary containing configuration settings that will be passed to the
|
|
|
|
language server.
|
|
|
|
|
|
|
|
|
2018-03-31 10:55:20 -04:00
|
|
|
===============================================================================
|
|
|
|
luac *ale-lua-luac*
|
|
|
|
|
|
|
|
g:ale_lua_luac_executable *g:ale_lua_luac_executable*
|
|
|
|
*b:ale_lua_luac_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'luac'`
|
|
|
|
|
|
|
|
This variable can be changed to change the path to luac.
|
|
|
|
|
2022-08-08 09:45:56 -04:00
|
|
|
|
2018-03-31 10:55:20 -04:00
|
|
|
===============================================================================
|
|
|
|
luacheck *ale-lua-luacheck*
|
|
|
|
|
|
|
|
g:ale_lua_luacheck_executable *g:ale_lua_luacheck_executable*
|
|
|
|
*b:ale_lua_luacheck_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'luacheck'`
|
|
|
|
|
|
|
|
This variable can be changed to change the path to luacheck.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_lua_luacheck_options *g:ale_lua_luacheck_options*
|
|
|
|
*b:ale_lua_luacheck_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to pass additional options to luacheck.
|
|
|
|
|
|
|
|
|
2020-12-04 16:15:32 -05:00
|
|
|
===============================================================================
|
|
|
|
luafmt *ale-lua-luafmt*
|
|
|
|
|
|
|
|
g:ale_lua_luafmt_executable *g:ale_lua_luafmt_executable*
|
|
|
|
*b:ale_lua_luafmt_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'luafmt'`
|
|
|
|
|
|
|
|
This variable can be set to use a different executable for luafmt.
|
|
|
|
|
2022-08-08 09:45:56 -04:00
|
|
|
|
2020-12-04 16:15:32 -05:00
|
|
|
g:ale_lua_luafmt_options *g:ale_lua_luafmt_options*
|
|
|
|
*b:ale_lua_luafmt_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to pass additional options to the luafmt fixer.
|
2021-07-04 16:47:44 -04:00
|
|
|
|
|
|
|
|
2022-08-08 09:45:56 -04:00
|
|
|
===============================================================================
|
|
|
|
selene *ale-lua-selene*
|
|
|
|
|
|
|
|
g:ale_lua_selene_executable *g:ale_lua_selene_executable*
|
|
|
|
*b:ale_lua_selene_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'selene'`
|
|
|
|
|
|
|
|
This variable can be set to use a different executable for selene.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_lua_selene_options *g:ale_lua_selene_options*
|
|
|
|
*b:ale_lua_selene_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to pass additional options to selene.
|
|
|
|
|
|
|
|
|
2021-07-04 16:47:44 -04:00
|
|
|
===============================================================================
|
|
|
|
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.
|
|
|
|
|
2022-08-08 09:45:56 -04:00
|
|
|
|
2021-07-04 16:47:44 -04:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
2018-03-31 10:55:20 -04:00
|
|
|
===============================================================================
|
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|