/stylua-nvim

Let's just use a formatter and never discuss formatting again.

Primary LanguageLuaMIT LicenseMIT

stylua-nvim

stylua-nvim is a minimal wrapper around the Lua code formatter, StyLua. It does pretty much what you'd expect it to do, format your Lua file using Stylua.

Install

Make sure you have StyLua installed and then install this plugin:

use({"ckipp01/stylua-nvim"})

Docs

Everything you need should be in the help docs.