Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ckipp01/stylua-nvim
Let's just use a formatter and never discuss formatting again.
https://github.com/ckipp01/stylua-nvim
Last synced: 3 days ago
JSON representation
Let's just use a formatter and never discuss formatting again.
- Host: GitHub
- URL: https://github.com/ckipp01/stylua-nvim
- Owner: ckipp01
- License: mit
- Created: 2021-03-25T17:29:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-05T06:41:15.000Z (over 2 years ago)
- Last Synced: 2024-11-02T02:33:06.347Z (10 days ago)
- Language: Lua
- Homepage:
- Size: 27.3 KB
- Stars: 58
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stylua-nvim
stylua-nvim is a minimal wrapper around the Lua code formatter,
[StyLua](https://github.com/JohnnyMorganz/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:```lua
use({"ckipp01/stylua-nvim"})
```If you would like your plugin manager to automatically download Stylua for you, run the Stylua install command using your plugin managers hooks. For example in Packer, you can use the following:
```lua
use({"ckipp01/stylua-nvim", run = "cargo install stylua"})
```### Docs
Everything you need should be in the [help
docs](https://github.com/ckipp01/stylua-nvim/blob/main/doc/stylua-nvim.txt).