1
0
Fork 0

Format neovim plugin update script

This commit is contained in:
Daniel Kempkens 2021-12-07 09:05:54 +01:00
parent 4c44032cc9
commit 33345748b8

View file

@ -37,7 +37,7 @@ echo "}" >> "$nix_new_file"
nixpkgs-fmt "$nix_new_file" nixpkgs-fmt "$nix_new_file"
if test -f "$nix_file"; then if test -f "$nix_file"; then
diff -U 4 "$nix_file" "$nix_new_file" | bat --paging=never -ldiff diff -U 2 "$nix_file" "$nix_new_file" | bat --paging=never -ldiff
mv "$nix_new_file" "$nix_file" mv "$nix_new_file" "$nix_file"
else else
mv "$nix_new_file" "$nix_file" mv "$nix_new_file" "$nix_file"