Description
It'd be nice to have a way to disable formatting with a comment directive such as nix-community/nixpkgs-fmt#265. If this were added I'd probably switch from using nixpkgs-fmt.
Small example input
# nixfmt: off
{
"asd" = 123; "abc" = 321;
}
# nixfmt: on
Expected output
# nixfmt: off
{
"asd" = 123; "abc" = 321;
}
# nixfmt: on
Actual output
# nixfmt: off
{
"asd" = 123;
"abc" = 321;
}
# nixfmt: on
Description
It'd be nice to have a way to disable formatting with a comment directive such as nix-community/nixpkgs-fmt#265. If this were added I'd probably switch from using
nixpkgs-fmt.Small example input
Expected output
Actual output