added dressing plugins

This commit is contained in:
sankalp committed 2024-08-13 21:33:19 +05:45
1 parent 1983411fd8
commit 0d0271c1c9
1 file changed
+32
+32
View File
@@ -0,0 +1,32 @@
return {
'stevearc/dressing.nvim',
event = { 'BufReadPre', 'BufNewFile' },
config = function()
require('dressing').setup({
win_options = {
winblend = 10,
winhighlight =
'Normal:DressingInputNormalFloat,NormalFloat:DressingInputNormalFloat,FloatBorder:DressingInputFloatBorder',
},
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 },
get_config = nil,
},
select = {
enabled = true,
backend = { 'telescope', 'fzf_lua', 'fzf', 'nui', 'builtin' },
trim_prompt = true,
},
})
end,
}