Skip to content

Commit 32c2017

Browse files
committed
fix: respect resize_timer_interval from config
1 parent caf015a commit 32c2017

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/neo-tree/setup/init.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,8 @@ M.merge_config = function(config, is_auto_config)
386386
id = "neo-tree-win-enter",
387387
})
388388

389-
389+
local rt = utils.get_value(M.config, "resize_timer_interval", 50, true)
390+
require("neo-tree.ui.renderer").resize_timer_interval = rt
390391

391392
if not is_auto_config and netrw.get_hijack_netrw_behavior() ~= "disabled" then
392393
vim.cmd("silent! autocmd! FileExplorer *")

0 commit comments

Comments
 (0)