StyLua

A Lua code formatter (by JohnnyMorganz)

StyLua Alternatives

Similar projects and alternatives to StyLua

  1. null-ls.nvim

    Discontinued Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.

  2. 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.

    Stream logo
  3. mini.nvim

    Library of 40+ independent Lua modules improving overall Neovim (version 0.9 and higher) experience with minimal effort

  4. lua-language-server

    A language server that offers Lua language support - programmed in Lua

  5. bandit

    26 StyLua VS bandit

    Bandit is a tool designed to find common security issues in Python code.

  6. dirbuf.nvim

    A file manager for Neovim which lets you edit your filesystem like you edit text

  7. luacheck

    A tool for linting and static analysis of Lua code.

  8. LuaFormatter

    Code formatter for Lua

  9. 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.

    InfluxDB logo
  10. selene

    5 StyLua VS selene

    A blazing-fast modern Lua linter written in Rust

  11. EmmyLuaCodeStyle

    fast, powerful, and feature-rich Lua formatting and checking tool.

  12. vscode-lua-format

    Reformats your Lua source code

  13. ravi

    6 StyLua VS ravi

    Ravi is a dialect of Lua, featuring limited optional static typing, JIT and AOT compilers

  14. tidy-viewer

    📺(tv) Tidy Viewer is a cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment.

  15. lua-style-guide

    Lua Style Guide, as used by LuaRocks

  16. typedlua

    An Optional Type System for Lua

  17. static-curl

    fully static builds of curl, runs anywhere

  18. lua-json5

    A json5 parser for luajit

  19. cpeditor.nvim

    Discontinued Competitive programming neovim plugin

  20. dotfiles

    Dotfiles of my Arch Linux setup. (by UtkarshVerma)

  21. cp.nvim

    Discontinued Competitive programming neovim plugin [Moved to: https://github.com/nullchilly/cpeditor.nvim]

  22. cpeditor

    1 StyLua VS cpeditor

    The IDE for competitive programming :tada: | Fetch, Code, Compile, Run, Check, Submit :rocket:

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better StyLua alternative or higher similarity.

StyLua discussion

Log in or Post with

StyLua reviews and mentions

Posts with mentions or reviews of StyLua. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-12.
  • Polyglot: Lua (Part 0)
    5 projects | dev.to | 12 Jan 2025
    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
    2 projects | /r/neovim | 4 Oct 2022
    Use and enforce a style with StyLua) or LuaFormatte and neovim can autoformat for ya.
  • sumneko_lua not respecting project's stylua.toml
    6 projects | /r/neovim | 29 Aug 2022
    stylua.toml is the config file of Stylua not of sumneko-lua
  • StyLua now supports collapsing simple statements
    4 projects | /r/neovim | 7 Jul 2022
    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
    6 projects | /r/neovim | 18 Jun 2022
    Check out StyLua if you want a code formatter.
  • luaCheck and class definition
    1 project | /r/lua | 6 Jan 2022
    Here is the instruction how to install and config.
  • Cannot run executables with Alpine and Busybox images
    4 projects | /r/docker | 17 Oct 2021
    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"
    2 projects | /r/neovim | 5 Oct 2021
    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
    2 projects | /r/vim | 12 Aug 2021
    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 ?
    2 projects | /r/neovim | 29 Jul 2021
    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
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic StyLua repo stats
12
1,895
8.5
2 months ago

Sponsored
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.
getstream.io

Did you know that Rust is
the 5th most popular programming language
based on number of references?