SaaSHub helps you find the best software and product alternatives Learn more →
StyLua Alternatives
Similar projects and alternatives to StyLua
-
null-ls.nvim
Discontinued Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
mini.nvim
Library of 40+ independent Lua modules improving overall Neovim (version 0.9 and higher) experience with minimal effort
-
-
-
-
-
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
-
-
-
-
tidy-viewer
📺(tv) Tidy Viewer is a cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment.
-
-
-
-
-
-
-
cp.nvim
Discontinued Competitive programming neovim plugin [Moved to: https://github.com/nullchilly/cpeditor.nvim]
-
cpeditor
The IDE for competitive programming :tada: | Fetch, Code, Compile, Run, Check, Submit :rocket:
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
StyLua discussion
StyLua reviews and mentions
-
Polyglot: Lua (Part 0)
Lua supports most of this primarily through community packages. luarocks is the Lua package manager. Lua does not ship with a unit testing framework by default, but the community seems to have selected luaunit as the defacto testing library. LSP and linting support is provided through the lua-language-server and code formatting is handled through stylua. However, I can't find tooling similar to Python's bandit to perform security audits. I believe this to be an open area of Lua library development.
-
question about plugins
Use and enforce a style with StyLua) or LuaFormatte and neovim can autoformat for ya.
-
sumneko_lua not respecting project's stylua.toml
stylua.toml is the config file of Stylua not of sumneko-lua
-
StyLua now supports collapsing simple statements
Starting from version 0.14.0, StyLua (the Lua code formatter in Neovim world) implements option collapse_simple_statement. From release notes:
-
Writing a neovim plugin. Please send criticisms to make the code better
Check out StyLua if you want a code formatter.
-
luaCheck and class definition
Here is the instruction how to install and config.
-
Cannot run executables with Alpine and Busybox images
RUN wget -O stylua-0.11.0-linux.zip https://github.com/JohnnyMorganz/StyLua/releases/download/v0.11.0/stylua-0.11.0-linux.zip && \ unzip stylua-0.11.0-linux.zip && \ rm stylua-0.11.0-linux.zip && \ chmod +x stylua
-
Difference between require("foo") and require"foo"
If your function call has only one argument and it happens to be a literal string or a table, then you might want to eliminate the parenthesis. Use whatever style you prefer, the later is useful for some DSLs. Let stylua auto format it anyway.
-
Lua Indentation Woes
Have you tried any external programs to format your code instead? That's what I usually do. Just set 'formatprg', and use gq to format the code. With a quick search I found LuaFormatter, and StyLua, but I can't say if they format the code the way you want. In my experience, external code formaters will do a better job, and they have more options to tweak as well.
-
[question] Where can i find the formatter tool for lua ?
Have a look at https://github.com/JohnnyMorganz/StyLua together with https://github.com/jose-elias-alvarez/null-ls.nvim
-
A note from our sponsor - SaaSHub
www.saashub.com | 17 Jul 2025
Stats
JohnnyMorganz/StyLua is an open source project licensed under Mozilla Public License 2.0 which is an OSI approved license.
The primary programming language of StyLua is Rust.