1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00

rhubarb: init

This commit is contained in:
santoshxshrestha 2025-09-24 17:50:30 +05:45 committed by Matt Sturgeon
parent 80cdf28db4
commit 47b2ce062a
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ lib, config, ... }:
lib.nixvim.plugins.mkVimPlugin {
name = "rhubarb";
packPathName = "vim-rhubarb";
package = "vim-rhubarb";
description = "Rhubarb is a GitHub extension for fugitive.vim.";
maintainers = [ lib.maintainers.santosh ];
dependencies = [ "git" ];
extraConfig = {
assertions = lib.nixvim.mkAssertions "plugins.rhubarb" [
{
assertion = config.plugins.fugitive.enable;
message = "You must enable `plugins.fugitive` when using `rhubarb`.";
}
];
};
}

View file

@ -0,0 +1,6 @@
{
empty = {
plugins.fugitive.enable = true;
plugins.rhubarb.enable = true;
};
}