Format neovim plugin update script
This commit is contained in:
parent
4c44032cc9
commit
33345748b8
1 changed files with 14 additions and 14 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue