mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01:00
19 lines
484 B
Nix
19 lines
484 B
Nix
{ lib, config, ... }:
|
|
lib.nixvim.plugins.mkVimPlugin {
|
|
name = "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`.";
|
|
}
|
|
];
|
|
};
|
|
}
|