22 lines
336 B
Lua
22 lines
336 B
Lua
local status_ok, whichkey = pcall(require, "which-key")
|
|
if not status_ok then
|
|
return
|
|
end
|
|
|
|
whichkey.setup {
|
|
icons = {
|
|
breadcrumb = '>>',
|
|
separator = '->',
|
|
},
|
|
winblend = 0,
|
|
window = {
|
|
border = 'shadow',
|
|
margin = { 1, .1, 2, .1 },
|
|
|
|
},
|
|
layout = {
|
|
width = { min = 20, max = 50 },
|
|
align = 'center',
|
|
}
|
|
}
|