based on a modified version of lua-fmt with extended identifiers
deprecated in favour of a modified version of LuaFormatter and vscode-lua-format. LuaFormatter won't generate unnecessary line breaks and is actively maintaining. In my view, LuaFormatter is the best lua code formatter, compared with lua-fmt, prettier/plugin-lua and py-lua-style.