Lua Formatting

Open-source Lua projects categorized as Formatting

Top 4 Lua Formatting Projects

  1. lsp-format.nvim

    A wrapper around Neovims native LSP formatting.

  2. Nutrient

    Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.

    Nutrient logo
  3. spread.nvim

    a neovim plugin to spread out inline objects, arrays, parameter lists, etc.

  4. nvim-strict

    Strict, native code style formatting plugin for Neovim. Expose deep nesting, overlong lines, trailing whitespace, trailing empty lines, todos and inconsistent indentation.

  5. tabs-vs-spaces.nvim

    Hint and fix deviating indentation.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Lua Formatting discussion

Log in or Post with

Lua Formatting related posts

  • My Setup for Responsive (Immutable) Formatting

    1 project | /r/neovim | 26 Jun 2023
  • Delay when formatting on save

    1 project | /r/neovim | 25 Jun 2023
  • Cursor moves on format

    2 projects | /r/neovim | 18 Jun 2023
  • Format on Save

    2 projects | /r/neovim | 18 May 2023
  • How to turn off on-save formatting in null-ls and let Lsp prettier and Eslint format instead? [LazyVim]

    1 project | /r/neovim | 17 May 2023
  • Slow formatters end up overwriting changes since last save, any ideas how to change this behavior?

    1 project | /r/neovim | 22 Mar 2023
  • Introduce TreeSJ: Neovim plugin for splitting/joining blocks of code

    3 projects | /r/neovim | 23 Nov 2022
  • A note from our sponsor - Nutrient
    nutrient.io | 16 Feb 2025
    Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free. Learn more →

Index

What are some of the best open-source Formatting projects in Lua? This list will help you:

# Project Stars
1 lsp-format.nvim 585
2 spread.nvim 98
3 nvim-strict 35
4 tabs-vs-spaces.nvim 23

Sponsored
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io

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