pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor
MIT License
2.42k stars 136 forks source link

🎨 LIT: integrate stylua formatter #193

Closed kkharji closed 3 years ago

kkharji commented 3 years ago

Purpose

Integrate stylua formatter, add github action to check format, and reformat all lua files.

Details

I won't recommend formatting the codebase on push/pull_request, checking for errors should be enough.

kkharji commented 3 years ago

hmmm I wonder why the github action didn't run 🤔

pwntester commented 3 years ago

BTW, is stylua whats used in projects like telescope?

kkharji commented 3 years ago

BTW, is stylua whats used in projects like telescope?

Yes, and I also use it in sql.nvim and other upcoming projects