feat: global configuration of results_title and prompt_title (#1817)
This commit is contained in:
@@ -64,8 +64,8 @@ function Picker:new(opts)
|
||||
local layout_strategy = get_default(opts.layout_strategy, config.values.layout_strategy)
|
||||
|
||||
local obj = setmetatable({
|
||||
prompt_title = get_default(opts.prompt_title, "Prompt"),
|
||||
results_title = get_default(opts.results_title, "Results"),
|
||||
prompt_title = get_default(opts.prompt_title, config.values.prompt_title),
|
||||
results_title = get_default(opts.results_title, config.values.results_title),
|
||||
-- either whats passed in by the user or whats defined by the previewer
|
||||
preview_title = opts.preview_title,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user