···4040 bottom = true, -- whether to draw the prompt at the bottom
4141 shrink = true, -- whether the window should shrink to fit the matches
4242 promptprefix = "", -- prefix for the prompt
4343+ prompt_title = true, -- whether to draw the prompt title
4344 pointer = "", -- pointer for the selected match
4445 use_icons = true, -- requires mini.icons
4546 },
···3434 matches = {},
3535 }, require("artio.config").get(), props)
36363737- t.prompttext = t.prompttext or ("%s %s"):format(t.prompt, t.opts.promptprefix)
3737+ if not t.prompttext then
3838+ t.prompttext = t.opts.prompt_title and ("%s %s"):format(t.prompt, t.opts.promptprefix) or t.opts.promptprefix
3939+ end
38403941 t.items = vim
4042 .iter(ipairs(t.items))