Skip to content

Commit 9f83bce

Browse files
committed
config in setup()
1 parent eb897a7 commit 9f83bce

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lua/window-picker/init.lua

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ function M.pick_or_create(custom_config)
4949

5050
return M.pick_window(custom_config)
5151
end
52-
function M.setup() end
52+
53+
function M.setup(opts)
54+
if opts then
55+
dconfig = vim.tbl_deep_extend('force', dconfig, opts)
56+
end
57+
end
5358

5459
return M

0 commit comments

Comments
 (0)