Skip to content

Commit

Permalink
feat: pass items to get_config for vim.ui.select
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Jul 31, 2022
1 parent d98769d commit d886a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/dressing/select/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ return vim.schedule_wrap(function(items, opts, on_choice)
on_choice = { on_choice, "function", false },
})
opts = opts or {}
local config = global_config.get_mod_config("select", opts)
local config = global_config.get_mod_config("select", opts, items)

if not config.enabled then
return patch.original_mods.select(items, opts, on_choice)
Expand Down

0 comments on commit d886a1b

Please sign in to comment.