nvimtree: remove unnecessary import

This commit is contained in:
Ching Pei Yang 2025-01-06 11:45:02 +01:00
parent 92e38fbfae
commit c071f2caa2
No known key found for this signature in database
GPG key ID: B3841364253DC4C8

View file

@ -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 = {