Changed
-
Let-in expressions are now indented in the top-level of a file.
-
Patterns avoid a new line after
@
:- args @ - { + args @ {
- } - @ inp: + } @ inp:
-
Attribute sets no longer have spaces
before the first element or after the last:- { b = 1; } + {b = 1;}
-
Pattern matching lambdas no longer have spaces
before the first or after the last element:- ({ ... }: _) + ({...}: _)
-
Ellipsis is no longer count as an element when spreading pattern matching lambdas:
- { - pkgs, - ... - }: + {pkgs, ...}:
-
Pattern matching lambdas now follow the equal sign:
- fnLocationRelative = - { - name, - value, - }: + fnLocationRelative = { + name, + value, + }:
-
with
expressions now indent the new scope and follow the equal sign:- binPath = - with pkgs; + binPath = with pkgs;
-
Nested lambdas are now not indented:
# comment a: - # comment - b: - _ + # comment + b: + _
-
Brace-like elements after a pattern entry now follow the exclamation mark:
- rootPoolProperties ? - { - autoexpand = "on"; - }, + rootPoolProperties ? { + autoexpand = "on"; + },
Pull Requests
- feat: release 0.2.0 by @kamadorueda in #128
- fix: changelog release url by @kamadorueda in #129
- feat: remove top level disctinction in let-in by @kamadorueda in #131
- feat: lisp-like parens by @kamadorueda in #132
- feat: correct aarch64-darwin build by @kamadorueda in #134
- feat: inline beggining at by @kamadorueda in #136
- feat: inline end at by @kamadorueda in #137
- fix: add cargo to build env by @kamadorueda in #138
- feat: more uniform family of elements by @kamadorueda in #140
- docs: update changelog by @kamadorueda in #141
- feat: respect newlines after = by @kamadorueda in #142
- feat: continue lambda on the same line by @kamadorueda in #143
- feat: indent with by @kamadorueda in #144
- refactor: remove unused binding by @kamadorueda in #145
- feat: do not indent lambdas with comments by @kamadorueda in #146
- fix: idiom pkgs by @kamadorueda in #147
- feat: brace like after pattern entry by @kamadorueda in #148
Full Changelog: 0.2.0...0.3.0