style: changed look of which-key popup window

This commit is contained in:
2024-11-29 23:57:13 -05:00
parent beea8e5525
commit f97b157efb
+18 -2
View File
@@ -1,10 +1,26 @@
return { return {
"folke/which-key.nvim", 'folke/which-key.nvim',
event = "VeryLazy", event = 'VeryLazy',
init = function() init = function()
vim.o.timeout = true vim.o.timeout = true
vim.o.timeoutlen = 500 vim.o.timeoutlen = 500
end, end,
opts = { opts = {
preset = 'modern',
sort = { 'local', 'order', 'group', 'alphanum', 'mod' },
notify = true,
win = {
title = true,
title_pos = 'center',
padding = { 2, 3 },
},
plugins = {
marks = true,
registers = true,
spelling = {
enabled = true,
suggestions = 20,
},
},
}, },
} }