feat(nvim): add guard-nvim

Moritz Böhme 2023-10-08 12:01:07 +02:00
parent d943ab8b6d
commit 11a779c036
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
4 changed files with 28 additions and 0 deletions

View File

@ -352,6 +352,19 @@
"type": "github"
}
},
"guard-nvim": {
"flake": false,
"locked": {
"lastModified": 1696758991,
"narHash": "sha256-gT0OybqOuYBRqUhkjh+AfM1I2p0rs1EzMylI9CreheQ=",
"path": "/home/moritz/Devel/Lua/guard.nvim",
"type": "path"
},
"original": {
"path": "/home/moritz/Devel/Lua/guard.nvim",
"type": "path"
}
},
"haskell-flake": {
"locked": {
"lastModified": 1684780604,
@ -1029,6 +1042,7 @@
"disko": "disko",
"flake-parts": "flake-parts",
"flake-utils": "flake-utils",
"guard-nvim": "guard-nvim",
"hmts-nvim": "hmts-nvim",
"home-manager": "home-manager_2",
"hypr-contrib": "hypr-contrib",

View File

@ -48,6 +48,8 @@
telekasten-nvim.url = "github:renerocksai/telekasten.nvim";
telescope-nvim.flake = false;
telescope-nvim.url = "github:nvim-telescope/telescope.nvim";
guard-nvim.flake = false;
guard-nvim.url = "/home/moritz/Devel/Lua/guard.nvim";
# Hyprland
hypr-contrib.url = "github:hyprwm/contrib";

View File

@ -304,5 +304,11 @@ with builtins;
plugin = nvim-puppeteer;
lazy = false; # NOTE: plugin lazy-loads itself.
}
{
# TODO: replace formatter-nvim with this as well
plugin = guard-nvim;
lazy = false;
conf = readFile ./lua/guard.lua;
}
];
}

View File

@ -51,5 +51,11 @@ with lib.my;
version = mkVersionInput inputs.nvim-puppeteer;
src = inputs.nvim-puppeteer;
};
guard-nvim = prev.vimUtils.buildVimPluginFrom2Nix {
pname = "guard-nvim";
version = mkVersionInput inputs.guard-nvim;
src = inputs.guard-nvim;
};
};
}