feat: refine with new_table

This commit is contained in:
Fabian David Schmidt
2022-07-01 18:13:25 +02:00
committed by Simon Hauser
parent a0a038170d
commit ef9137d85c
6 changed files with 82 additions and 3 deletions
+1 -1
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