return { "stevearc/dressing.nvim", event = "VeryLazy", config = function() require("dressing").setup({ input = { enabled = true, default_prompt = "Input:", prompt_align = "left", insert_only = true, start_in_insert = true, border = "rounded", relative = "cursor", prefer_width = 40, width = nil, max_width = { 140, 0.9 }, min_width = { 20, 0.2 }, win_options = { winblend = 0, wrap = false, }, mappings = { n = { [""] = "Close", [""] = "Confirm", }, i = { [""] = "Close", [""] = "Confirm", [""] = "HistoryPrev", [""] = "HistoryNext", }, }, }, select = { enabled = true, backend = { "telescope", "builtin", "nui" }, trim_prompt = true, telescope = require("telescope.themes").get_dropdown({ borderchars = { prompt = { "─", "│", " ", "│", "╭", "╮", "│", "│" }, results = { "─", "│", "─", "│", "├", "┤", "╯", "╰" }, preview = { "─", "│", "─", "│", "╭", "╮", "╯", "╰" }, }, width = 0.8, previewer = false, prompt_title = false, }), builtin = { border = "rounded", relative = "editor", win_options = { winblend = 0, cursorline = true, cursorlineopt = "both", }, width = nil, max_width = { 140, 0.8 }, min_width = { 40, 0.2 }, height = nil, max_height = 0.9, min_height = { 10, 0.2 }, }, }, }) end, }