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

plugins/neogit: remove 'with lib;'

This commit is contained in:
Gaetan Lepage 2025-10-01 00:29:50 +02:00 committed by Gaétan Lepage
parent f0cd7d4fb3
commit 1f003e44d5

View file

@ -4,12 +4,11 @@
config,
...
}:
with lib;
lib.nixvim.plugins.mkNeovimPlugin {
name = "neogit";
description = "An interactive and powerful Git interface for Neovim, inspired by Magit.";
maintainers = [ maintainers.GaetanLepage ];
maintainers = [ lib.maintainers.GaetanLepage ];
# TODO introduced 2024-02-29: remove 2024-04-29
deprecateExtraOptions = true;
@ -27,7 +26,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
++ (map
(
optionPath:
mkRemovedOptionModule
lib.mkRemovedOptionModule
(
[
"plugins"
@ -88,7 +87,9 @@ lib.nixvim.plugins.mkNeovimPlugin {
"git"
{
name = "which";
enable = hasInfix "which" (config.plugins.neogit.settings.commit_view.verify_commit.__raw or "");
enable = lib.hasInfix "which" (
config.plugins.neogit.settings.commit_view.verify_commit.__raw or ""
);
}
];