Add go fold if err nil vim plugin

This commit is contained in:
Bad 2021-08-27 14:43:53 +02:00
parent fee0cd67c1
commit 00296b6d4f
12 changed files with 29 additions and 3 deletions

View file

@ -10,6 +10,7 @@ channels: final: prev: {
rage rage
nixpkgs-fmt nixpkgs-fmt
qutebrowser qutebrowser
nvfetcher
signal-desktop signal-desktop
neovim neovim
neovim-unwrapped neovim-unwrapped

BIN
pkgs/.shake/.shake.database Normal file

Binary file not shown.

0
pkgs/.shake/.shake.lock Normal file
View file

BIN
pkgs/_build/.shake.database Normal file

Binary file not shown.

0
pkgs/_build/.shake.lock Normal file
View file

View file

@ -1,6 +1,19 @@
# This file was generated by nvfetcher, please do not modify it manually. # This file was generated by nvfetcher, please do not modify it manually.
{ fetchgit, fetchurl }: { fetchgit, fetchurl }:
{ {
go-fold-if-err-nil = {
pname = "go-fold-if-err-nil";
version = "4f881c4f64d9caac1f59ebd5d14963f99db3d71a";
src = fetchgit {
url = "https://im.badat.dev/bad/nvimgofoldiferrnil";
rev = "4f881c4f64d9caac1f59ebd5d14963f99db3d71a";
fetchSubmodules = false;
deepClone = false;
leaveDotGit = false;
sha256 = "0rr66y86g6g8ixg69yd6ahyzirl82gfvyv6j2w6b0zv5x0979x9v";
};
};
manix = { manix = {
pname = "manix"; pname = "manix";
version = "d08e7ca185445b929f097f8bfb1243a8ef3e10e4"; version = "d08e7ca185445b929f097f8bfb1243a8ef3e10e4";
@ -12,5 +25,6 @@
leaveDotGit = false; leaveDotGit = false;
sha256 = "1b7xi8c2drbwzfz70czddc4j33s7g1alirv12dwl91hbqxifx8qs"; sha256 = "1b7xi8c2drbwzfz70czddc4j33s7g1alirv12dwl91hbqxifx8qs";
}; };
}; };
} }

View file

@ -1,5 +1,6 @@
final: prev: { final: prev: {
# keep sources this first # keep sources this first
sources = prev.callPackage (import ./_sources/generated.nix) { }; sources = prev.callPackage (import ./sources.nix) { };
# then, call packages with `final.callPackage` # then, call packages with `final.callPackage`
go-fold-if-err-nil = prev.callPackage ./go-fold-if-err-nil.nix { };
} }

View file

@ -0,0 +1,6 @@
{ lib, sources, stdenv, vimUtils, ... }:
vimUtils.buildVimPluginFrom2Nix {
inherit (sources.go-fold-if-err-nil) src version;
name = "go-fold-if-err-nil";
meta.homepage = "https://im.badat.dev/bad/nvimgofoldiferrnil";
}

1
pkgs/sources.nix Symbolic link
View file

@ -0,0 +1 @@
_build/generated.nix

View file

@ -1,4 +1,6 @@
# nvfetcher.toml
[manix] [manix]
src.git = "https://github.com/mlvzk/manix" src.git = "https://github.com/mlvzk/manix"
fetch.github = "mlvzk/manix" fetch.github = "mlvzk/manix"
[go-fold-if-err-nil]
src.git = "https://im.badat.dev/bad/nvimgofoldiferrnil"
fetch.git = "https://im.badat.dev/bad/nvimgofoldiferrnil"

View file

@ -40,7 +40,7 @@ in
whois whois
nixpkgs-fmt nixpkgs-fmt
manix nvfetcher
libqalculate libqalculate
]; ];
}; };

View file

@ -32,6 +32,7 @@
config = "colorscheme iceberg"; config = "colorscheme iceberg";
} }
vim-sleuth vim-sleuth
pkgs.go-fold-if-err-nil
coc-json coc-json
coc-go coc-go
coc-html coc-html