feat(update): update

This commit is contained in:
darwincereska
2025-12-01 15:17:21 -05:00
parent fd83a29f1e
commit de8c6245ec
31 changed files with 13 additions and 13 deletions

View File

@@ -0,0 +1,67 @@
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 = {
["<Esc>"] = "Close",
["<CR>"] = "Confirm",
},
i = {
["<C-c>"] = "Close",
["<CR>"] = "Confirm",
["<Up>"] = "HistoryPrev",
["<Down>"] = "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,
}