Open jtojnar opened 3 years ago
let foo = if condition then null else 4; in true
Since if I remove the if statement, the 4 will get indented again:
if
4
let foo = 4; in true
Noticed in nixos/modules/services/x11/display-managers/gdm.nix on https://github.com/NixOS/nixpkgs/pull/121490
nixos/modules/services/x11/display-managers/gdm.nix
Input
Output
Desired output
Since if I remove the
if
statement, the4
will get indented again:Noticed in
nixos/modules/services/x11/display-managers/gdm.nix
on https://github.com/NixOS/nixpkgs/pull/121490