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:
parent
d839c3e5b2
commit
efd9f93698
4 changed files with 71 additions and 40 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue