From 713b56e13c58ad519920e0e634763345cb4fc832 Mon Sep 17 00:00:00 2001 From: Steven Arcangeli Date: Sun, 6 Aug 2023 19:50:14 -0700 Subject: [PATCH] fix: increase buffer time for fzf-lua mode switching --- lua/dressing/select/fzf_lua.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/dressing/select/fzf_lua.lua b/lua/dressing/select/fzf_lua.lua index 041a4c2..2bb3098 100644 --- a/lua/dressing/select/fzf_lua.lua +++ b/lua/dressing/select/fzf_lua.lua @@ -16,7 +16,7 @@ M.select = function(config, items, opts, on_choice) local args = vim.F.pack_len(...) vim.defer_fn(function() on_choice(vim.F.unpack_len(args)) - end, 1) + end, 10) end return ui_select.ui_select(items, opts, deferred_on_choice) end