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

[RFC 0166] Nix formatting, take two #166

Merged
merged 39 commits into from
Mar 5, 2024
Merged
Changes from 18 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
49edc8b
166: Nix formatting
infinisil Aug 8, 2023
f4f382d
Operator chains outside bindings can also have a compact form
infinisil Nov 15, 2023
940312f
Make the operator compact form specific to binders
infinisil Nov 15, 2023
63a2fa9
Fix accidentally formatted semicolons in alternatives
infinisil Nov 15, 2023
9a46629
Minor changes
infinisil Nov 15, 2023
1ef40c5
Light copy editing
rhendric Nov 16, 2023
1da4679
Fix .git-blame-ignore-revs
YorikSar Nov 16, 2023
0513bda
Improve assert/with wording
infinisil Nov 28, 2023
385a914
Be more flexible with single-line element count
infinisil Nov 28, 2023
9ac50f8
binder -> binding
infinisil Nov 28, 2023
299c16f
unindent inherit semicolon, reshuffle binding/inherit sections (#14)
infinisil Nov 28, 2023
6a6efcd
Give alternatives to `in` formatting
infinisil Dec 12, 2023
ff2f08a
Expand on line break preservation
infinisil Dec 12, 2023
5fd9365
Add editorconfig
infinisil Dec 12, 2023
4f3b3ce
Expand argumentation against leading commas
infinisil Dec 12, 2023
b717f6e
Add @dasJ to the formatter team
infinisil Dec 12, 2023
734deb1
Add shepherd team
infinisil Dec 20, 2023
ac863af
Various improvements (#15)
infinisil Jan 3, 2024
b42842d
Address TODOs and rework with/assert
infinisil Jan 9, 2024
e94e1e3
Minor adjustments
infinisil Jan 9, 2024
4f99905
Mention formatting Nix code in documentation
infinisil Jan 23, 2024
6b430d7
Working towards finalization (#16)
piegamesde Feb 6, 2024
8cb46fd
String section
infinisil Feb 6, 2024
8d3cd5b
Specify assert conditions
infinisil Feb 6, 2024
1e83c6d
More absorption for multi-line arguments
infinisil Feb 6, 2024
2c90b30
How to update the standard format
infinisil Feb 6, 2024
1e5914d
Fix minor typos
dasJ Feb 14, 2024
c617b9f
Less lines for common function call patterns
infinisil Feb 20, 2024
6b2f19a
Specify comments
infinisil Feb 20, 2024
463a858
Specify that the formatter should be as pure as possible
infinisil Feb 20, 2024
e92f5ab
nit: fix list concatenation example (#17)
lheckemann Feb 27, 2024
6e63b6b
Update rfcs/0166-nix-formatting.md
infinisil Mar 4, 2024
dec1797
Add good indentation examples (#18)
infinisil Mar 4, 2024
3a91c37
Add another chainable operators example
infinisil Mar 4, 2024
f33b211
justify difference in semicolon placement
infinisil Mar 4, 2024
aa2141a
Allow different parenthesized argument style
infinisil Mar 4, 2024
26b444b
Clarify non-vertical alignment rule
infinisil Mar 4, 2024
685ee9b
Improved clarity of bindings rule
infinisil Mar 4, 2024
aaf1613
Improve bindings semicolon alternatives section
infinisil Mar 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading