From 6975f138fe4efa5381eb8b35b64f502248ca3fa2 Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Sun, 20 Apr 2025 21:19:40 +0200 Subject: [PATCH] fix(neo-tree): fix auto opening tree on startup --- lua/ow/plugins/neo-tree.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/ow/plugins/neo-tree.lua b/lua/ow/plugins/neo-tree.lua index f7be4ab..e418c21 100644 --- a/lua/ow/plugins/neo-tree.lua +++ b/lua/ow/plugins/neo-tree.lua @@ -162,5 +162,8 @@ return { }, }, }, - init = toggle_neo_tree, + config = function(_, opts) + require("neo-tree").setup(opts) + toggle_neo_tree() + end, }