1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-30 12:07:46 +00:00

feat: support inline comments on parens

This commit is contained in:
Kevin Amado 2022-02-28 16:48:22 -05:00
parent d839c3e5b2
commit efd9f93698
4 changed files with 71 additions and 40 deletions

View file

@ -46,6 +46,15 @@ Types of changes
+ then v x.${a} y.${a} # both have attr, use merge func
+ else x.${a} # only x has attr
```
- Inline comments support for `inherit` expressions:
```diff
inherit
(callPackage ../development/tools/ocaml/ocamlformat {})
- ocamlformat
- # latest version
+ ocamlformat # latest version
ocamlformat_0_11_0
```
### Changed