improve startup time from >250ms to ~70ms

This commit is contained in:
2024-11-22 13:43:37 -05:00
parent 19474801dd
commit 9e03718a80
20 changed files with 667 additions and 588 deletions
+35 -4
View File
@@ -1,5 +1,36 @@
return {
"stevearc/dressing.nvim",
event = "VeryLazy",
opts = {},
}
'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 = {
['<Esc>'] = 'Close',
['q'] = 'Close',
['<CR>'] = 'Confirm',
},
i = {
['<C-c>'] = 'Close',
['<CR>'] = 'Confirm',
['<Up>'] = 'HistoryPrev',
['<Down>'] = 'HistoryNext',
},
},
override = function(conf)
return conf
end,
},
select = {},
},
}