From c071f2caa22dddc61d9c6b9ee59a8397a4a64c36 Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Mon, 6 Jan 2025 11:45:02 +0100 Subject: [PATCH] nvimtree: remove unnecessary import --- modules/plugins/filetree/nvimtree/config.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/plugins/filetree/nvimtree/config.nix b/modules/plugins/filetree/nvimtree/config.nix index 11fa9fed..0d0381a0 100644 --- a/modules/plugins/filetree/nvimtree/config.nix +++ b/modules/plugins/filetree/nvimtree/config.nix @@ -1,7 +1,7 @@ { + options, config, lib, - pkgs, ... }: let inherit (lib.strings) optionalString; @@ -11,8 +11,7 @@ inherit (lib.nvim.binds) pushDownDefault; cfg = config.vim.filetree.nvimTree; - self = import ./nvimtree.nix {inherit pkgs lib;}; - inherit (self.options.vim.filetree.nvimTree) mappings; + inherit (options.vim.filetree.nvimTree) mappings; in { config = mkIf cfg.enable { vim = {