style: changed look of which-key popup window
This commit is contained in:
@@ -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,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user