about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/plgs-pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nixpkgs/pkgs/plgs-pkgs')
-rw-r--r--sys/nixpkgs/pkgs/plgs-pkgs/README.md10
-rw-r--r--sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md2
-rwxr-xr-xsys/nixpkgs/pkgs/plgs-pkgs/update.sh7
3 files changed, 9 insertions, 10 deletions
diff --git a/sys/nixpkgs/pkgs/plgs-pkgs/README.md b/sys/nixpkgs/pkgs/plgs-pkgs/README.md
index ed05f4b2..e8169951 100644
--- a/sys/nixpkgs/pkgs/plgs-pkgs/README.md
+++ b/sys/nixpkgs/pkgs/plgs-pkgs/README.md
@@ -1,6 +1,8 @@
 # Fork
+
 All files in this repository where forked form [here](https://github.com/NixNeovim/NixNeovimPlugins) on commit `5010b91eb03696574c3c293f072a090618227e87`.
 Below the original README. They were licensed under the MIT license.
+
 # All vim plugins, ready to go
 
 This repo auto generates nix packages for vim/neovim plugins.
@@ -51,12 +53,6 @@ Finally, you can add the packages to your vim/neovim config. For example you can
 
 More info on using neovim with nix can be found here: [NixOS Neovim](https://nixos.wiki/wiki/Neovim)
 
-[0]: https://github.com/rockerBOO/awesome-neovim
-[1]: https://nixos.org/manual/nix/stable/release-notes/rl-2.4.html?highlight=builtins.getFlake#other-features
-[2]: https://nur.nix-community.org/
-[3]: https://nur.nix-community.org/repos/m15a/
-
-
 ## Contribution
 
 ### How to add a new plugin
@@ -92,3 +88,5 @@ The GitHub Actions will do the rest, including removing the entry from manifest.
 ## Credits
 
 This is originally based on work by [m15a](https://github.com/m15a/nixpkgs-vim-extra-plugins)
+
+[0]: https://github.com/rockerBOO/awesome-neovim
diff --git a/sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md b/sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md
index bb4f6537..b990c877 100644
--- a/sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md
+++ b/sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md
@@ -1,4 +1,4 @@
- - Plugin count: 4
+- Plugin count: 4
 
 | Repo | Last Update | Nix package name | Last checked |
 |:---|:---|:---|:---|
diff --git a/sys/nixpkgs/pkgs/plgs-pkgs/update.sh b/sys/nixpkgs/pkgs/plgs-pkgs/update.sh
index ea71c6fa..6a0d3452 100755
--- a/sys/nixpkgs/pkgs/plgs-pkgs/update.sh
+++ b/sys/nixpkgs/pkgs/plgs-pkgs/update.sh
@@ -9,11 +9,13 @@ cd "$BASE_DIR" || (echo "BUG: No '$BASE_DIR'" && exit 1)
 sort -o "$BASE_DIR/manifest.txt" "$BASE_DIR/manifest.txt"
 sort -o "$BASE_DIR/blacklist.txt" "$BASE_DIR/blacklist.txt"
 ## Remove all plugins, which are on the blacklist
-echo "$(comm -23 "$BASE_DIR/manifest.txt" "$BASE_DIR/blacklist.txt")" > "$BASE_DIR/manifest.txt"
+# The same file is read and written to
+# shellcheck disable=SC2005
+echo "$(comm -23 "$BASE_DIR/manifest.txt" "$BASE_DIR/blacklist.txt")" >"$BASE_DIR/manifest.txt"
 
 # Backup vim-plugins.nix
 mv "$BASE_DIR/default.nix" "$BASE_DIR/default.nix.bak"
-echo "{...} : {}" > "$BASE_DIR/default.nix"
+echo "{...} : {}" >"$BASE_DIR/default.nix"
 
 # Generate derivations for new plugins (this binary is provided by the dev-environment)
 update-vim-plugins cleanup "$BASE_DIR"
@@ -21,6 +23,5 @@ update-vim-plugins cleanup "$BASE_DIR"
 # Restore vim-plugins.nix
 mv "$BASE_DIR/default.nix.bak" "$BASE_DIR/default.nix"
 
-
 # Update new plugins
 update-vim-plugins update "$BASE_DIR" --all