2023-01-15 00:17:41 +07:00
|
|
|
local status_ok, dressing = pcall(require, "dressing")
|
|
|
|
if not status_ok then
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
dressing.setup({
|
|
|
|
input = {
|
2024-03-31 16:35:21 +07:00
|
|
|
title_pos = "center",
|
|
|
|
relative = "editor",
|
2023-01-15 00:17:41 +07:00
|
|
|
default_prompt = "➤ ",
|
|
|
|
win_options = { winhighlight = "Normal:Normal,NormalNC:Normal" },
|
2023-01-17 13:48:54 +07:00
|
|
|
prefer_width = 30,
|
2023-01-15 17:25:43 +07:00
|
|
|
max_width = { 140, 0.9 },
|
2024-03-31 16:35:21 +07:00
|
|
|
min_width = { 50, 0.2 },
|
2023-01-15 00:17:41 +07:00
|
|
|
},
|
|
|
|
select = {
|
|
|
|
backend = { "telescope", "builtin" },
|
|
|
|
builtin = { win_options = { winhighlight = "Normal:Normal,NormalNC:Normal" } },
|
|
|
|
},
|
|
|
|
})
|