Alternatives to StyLua
A deterministic, opinionated code formatter for Lua, LuaJIT, Luau and CfxLua. Notes say what changes if you switch.
The original
StyLua
A deterministic, opinionated code formatter for Lua, LuaJIT, Luau and CfxLua.
9 alternatives
Most similar to StyLua first.
Lua Language Server
A language server that adds diagnostics, autocompletion, type checking and formatting for Lua in code editors.
Lua Language Server includes a built-in formatter alongside diagnostics and type checking, but it runs through an LSP-capable editor rather than as a standalone formatting command.
Luau Language Server
A language server for Luau that adds editor features such as diagnostics and completion.
Luau
A small, fast, embeddable programming language derived from Lua with a gradual type system.
LuaJIT
A just-in-time compiler for the Lua programming language, compatible with the Lua 5.1 API.
selene
A command-line linter written in Rust that checks Lua code for errors and unidiomatic patterns.
Luacheck
A command-line linter and static analysis tool for Lua code.
Lua
A lightweight, embeddable scripting language with a small standalone interpreter.
MoonScript
A dynamic scripting language with a whitespace-based syntax that compiles to Lua.
YueScript
A MoonScript-derived programming language that compiles to readable Lua.