-
Notifications
You must be signed in to change notification settings - Fork 38.3k
Turn on StyLua's collapse_simple_statement
#1484
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
base: master
Are you sure you want to change the base?
Conversation
a788d7f
to
5662c12
Compare
5662c12
to
1058328
Compare
when i use the formatter thats included with kickstart (leader-f), it aligns with the way it gets done on github right now. so it would be nice to align the formatter thats shipped with kickstart. otherwise when changing something locally, merging changes from upstream gets much harder, because they always misalign. |
They both read the same config file ( Also you can see that the ci is passing 😄 |
Haha ok I'm just a noob then, lol.
…On Thu, May 15, 2025, 18:50 Ori Perry ***@***.***> wrote:
*oriori1703* left a comment (nvim-lua/kickstart.nvim#1484)
<#1484 (comment)>
when i use the formatter thats included with kickstart (leader-f), it
aligns with the way it gets done on github right now. so it would be nice
to align the formatter thats shipped with kickstart. otherwise when
changing something locally, merging changes from upstream gets much harder,
because they always misalign.
They both read the same config file (.stylelua.toml), so the local and
the ci formatting will still be aligned.
Also you can see that the ci is passing 😄
—
Reply to this email directly, view it on GitHub
<#1484 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKZLFNBHETRK4XQ3PW4GPX326TAVRAVCNFSM6AAAAAB3QELKKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQOBUGQ3TIMZSGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
This would allow to write more concise and easy to understands keybinds in the following commit
1058328
to
48e36d1
Compare
Turn on StyLua's
collapse_simple_statement
for functions.This could lead a major improvement for code that's heavy on anonymous function, like defining a lot of keymaps in succession.
for example:
This was originally part of #1481