mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-30 12:07:46 +00:00
feat: inline comments on inherit
This commit is contained in:
parent
62dd8ec60a
commit
d839c3e5b2
5 changed files with 117 additions and 28 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -36,6 +36,16 @@ Types of changes
|
|||
+ assert stdenv.isDarwin -> libXaw != null; # fails to link otherwise
|
||||
+
|
||||
```
|
||||
- Inline comments support for `if-then-else` expressions:
|
||||
```diff
|
||||
if y ? ${a}
|
||||
- then v x.${a} y.${a}
|
||||
- # both have attr, use merge func
|
||||
- else x.${a}
|
||||
- # only x has attr
|
||||
+ then v x.${a} y.${a} # both have attr, use merge func
|
||||
+ else x.${a} # only x has attr
|
||||
```
|
||||
|
||||
### Changed
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue