feat: refine with new_table

This commit is contained in:
Fabian David Schmidt
2021-08-13 17:32:01 +02:00
committed by Simon Hauser
parent a0a038170d
commit ef9137d85c
6 changed files with 82 additions and 3 deletions

View File

@@ -911,7 +911,7 @@ function Picker:refresh(finder, opts)
local handle = type(opts.new_prefix) == "table" and unpack or function(x)
return x
end
self:change_prompt_prefix(handle(opts.new_prefix))
self:change_prompt_prefix(handle(opts.new_prefix), opts.prefix_hl_group)
end
if finder then