Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: use stylua format #50

Merged
merged 2 commits into from
Jul 29, 2023
Merged

Conversation

bo5o
Copy link
Contributor

@bo5o bo5o commented Jul 28, 2023

Apply popular lua code formatter stylua and add configuration for it. Also set up github action and pre-commit hook for stylua.

I think stylua is used much more often in neovim plugins than the formatter built into the lua language server. Stylua also has less configuration and creates a consistent and familiar code style.

@bo5o bo5o force-pushed the style/use-stylua-formatting branch from 395e4a5 to 24d4901 Compare July 28, 2023 22:27
@CKolkey
Copy link
Owner

CKolkey commented Jul 29, 2023

Thanks!

@CKolkey CKolkey merged commit 634dd20 into CKolkey:master Jul 29, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants