From bbfc2f6f47de17ea77973507ced1b56e84b671e2 Mon Sep 17 00:00:00 2001 From: jasmine Date: Tue, 18 Feb 2025 08:53:20 +0800 Subject: [PATCH] feat(config/plugins/editor): add closeIfLastWindow option to neo-tree plugin The neo-tree plugin configuration now includes an optional `closeIfLastWindow` setting that ensures the NeoTree window closes if it is the last open window. This enhancement improves user experience by automatically closing unnecessary file explorers. --- config/plugins/editor/neo-tree.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/config/plugins/editor/neo-tree.nix b/config/plugins/editor/neo-tree.nix index a1f3b66..a167556 100644 --- a/config/plugins/editor/neo-tree.nix +++ b/config/plugins/editor/neo-tree.nix @@ -1,6 +1,7 @@ {...}: { plugins.neo-tree = { enable = true; + closeIfLastWindow = true; }; keymaps = [