nvf/modules/plugins/git/hunk-nvim/config.nix
NotAShelf b89ed91405
Some checks are pending
Set up binary cache / cachix (default) (push) Waiting to run
Set up binary cache / cachix (maximal) (push) Waiting to run
Set up binary cache / cachix (nix) (push) Waiting to run
Treewide Checks / Validate flake (push) Waiting to run
Treewide Checks / Check formatting (push) Waiting to run
Treewide Checks / Check source tree for typos (push) Waiting to run
Treewide Checks / Validate documentation builds (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
git/hunk-nvim: init
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964c7b5ff071d9ac1713a149ebd9c3abd0f
2025-07-19 04:28:41 +03:00

21 lines
329 B
Nix

{
config,
lib,
...
}: let
inherit (lib.modules) mkIf;
cfg = config.vim.git.hunk-nvim;
in {
config = mkIf cfg.enable {
vim = {
lazy.plugins = {
"hunk-nvim" = {
package = "hunk-nvim";
setupModule = "gitlinker";
inherit (cfg) setupOpts;
};
};
};
};
}