Skip to content

Commit

Permalink
nvimtree: remove unnecessary import
Browse files Browse the repository at this point in the history
  • Loading branch information
horriblename committed Jan 6, 2025
1 parent 92e38fb commit c071f2c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/plugins/filetree/nvimtree/config.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
options,
config,
lib,
pkgs,
...
}: let
inherit (lib.strings) optionalString;
Expand All @@ -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 = {
Expand Down

0 comments on commit c071f2c

Please sign in to comment.