From 3aee7e0c6b05f85729cfae2fb62941088e47fe53 Mon Sep 17 00:00:00 2001 From: JINNOUCHI Yasushi Date: Sun, 13 Aug 2023 23:58:17 +0900 Subject: [PATCH] feat: deal with configs in setup() (#127) --- lua/frecency/frecency.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/frecency/frecency.lua b/lua/frecency/frecency.lua index 4106084..e7e9170 100644 --- a/lua/frecency/frecency.lua +++ b/lua/frecency/frecency.lua @@ -104,7 +104,7 @@ function Frecency:start(opts) show_unindexed = self.config.show_unindexed, workspaces = self.config.workspaces, }) - self.picker:start(opts) + self.picker:start(vim.tbl_extend("force", self.config, opts)) log.debug(("Frecency:start picker:start takes %f seconds"):format(os.clock() - start)) end