nixvim
nixvim copied to clipboard
TEST: reformat with latest nixfmt
Just to satisfy my curiosity, this is what the repo looks like when running
nix run github:nixos/nixfmt -- **/*.nix
Note: some of the new formatting uses input-formatting-based heuristics, so if you (for example) wanted to reformat the following, it may require manual intervention.
# from
mkRenamedOptionModule
[
"plugins"
"hello"
"foo"
]
[
"plugins"
"goodbye"
"bar"
]
# to
mkRenamedOptionModule [ "plugins" "hello" "foo" ] [ "plugins" "goodbye" "bar" ]
# or
mkRenamedOptionModule
[ "plugins" "hello" "foo" ]
[ "plugins" "goodbye" "bar" ]
We can experiment with additional commits on this branch, manually modifying input formatting and re-running nixfmt to see what it now permits.