From 1f003e44d5bb25f155f9be8b7b30b3158b0a0e1b Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 1 Oct 2025 00:29:50 +0200 Subject: [PATCH] plugins/neogit: remove 'with lib;' --- plugins/by-name/neogit/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/plugins/by-name/neogit/default.nix b/plugins/by-name/neogit/default.nix index b385f5c5..7b64b0e9 100644 --- a/plugins/by-name/neogit/default.nix +++ b/plugins/by-name/neogit/default.nix @@ -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 "" + ); } ];