diff --git a/.config/nvim/lua/plugins/dressing.lua b/.config/nvim/lua/plugins/dressing.lua index 4c56252..c44e383 100644 --- a/.config/nvim/lua/plugins/dressing.lua +++ b/.config/nvim/lua/plugins/dressing.lua @@ -1,36 +1,52 @@ return { - 'stevearc/dressing.nvim', - dependencies = { - 'nvim-telescope/telescope.nvim', - }, - event = 'VeryLazy', - opts = { - input = { - enabled = true, - -- default_prompt = 'Prompt', - prompt_align = 'left', - insert_only = false, - start_in_insert = true, - border = 'rounded', - relative = 'cursor', - prefer_width = 0.4, - mappings = { - n = { - [''] = 'Close', - ['q'] = 'Close', - [''] = 'Confirm', - }, - i = { - [''] = 'Close', - [''] = 'Confirm', - [''] = 'HistoryPrev', - [''] = 'HistoryNext', - }, + 'stevearc/dressing.nvim', + dependencies = { + 'nvim-telescope/telescope.nvim', + }, + event = 'VeryLazy', + opts = { + input = { + enabled = true, + -- default_prompt = 'Prompt', + prompt_align = 'left', + insert_only = false, + start_in_insert = true, + border = 'rounded', + relative = 'cursor', + prefer_width = 0.4, + mappings = { + n = { + [''] = 'Close', + ['q'] = 'Close', + [''] = 'Confirm', + }, + i = { + [''] = 'Close', + [''] = 'Confirm', + [''] = 'HistoryPrev', + [''] = 'HistoryNext', + }, + }, + override = function(conf) + return conf + end, }, - override = function(conf) - return conf - end, - }, - select = {}, - }, + select = { + enabled = true, + backend = { 'telescope', 'builtin', 'fzf_lua', 'fzf', 'nui' }, + trim_prompt = true, + builtin = { + border = 'rounded', + relative = 'cursor', + mappings = { + ['Esc'] = 'Close', + ['q'] = 'Close', + [''] = 'Confirm', + }, + }, + override = function(conf) + return conf + end, + }, + }, } \ No newline at end of file