which-key.nvim
which-key.nvim copied to clipboard
whichkey not refreshing screen in smaller sizes
Hi,
I'm not sure whether this is a bug actually but I noticed one issue, when I try to use the menus and my terminal is resized to a smaller size then which-key menus don't refresh properly on my setup.
Let me show you what I mean:
https://user-images.githubusercontent.com/29671981/168393939-11290920-fb95-4437-aeb1-11fc5f039a95.mp4
So, as we can see it all works, I'm able to rename some variable, however it leaves on screen bunch of chars. Apparently it's not refreshing when the screen size is smaller.
I'm using nvim 0.8-dev and which-key is updated to lastest commit bd4411a.
My config:
lua << EOF
require("which-key").setup {
plugins = {
marks = false,
registers = false,
},
presets = {
operators = false,
motions = false,
text_objects = false,
},
triggers_blacklist = {
n = { "d", '"', 'y', 'z', '>', '<', 'v' },
},
icons = {
breadcrumb = " îŸ", -- symbol used in the command line area that shows your active key combo
separator = "➜", -- symbol used between a key and it's label
group = "  ", -- symbol prepended to a group
},
window = {
border = "none", -- none, single, double, shadow
position = "bottom", -- bottom, top
margin = { 1, 0, 1, 0 }, -- extra window margin [top, right, bottom, left]
padding = { 2, 2, 2, 2 }, -- extra window padding [top, right, bottom, left]
winblend = 0
},
}
local wk = require("which-key")
wk.register({
-- very long key mapping here.. skipping
}, { mode = "n", prefix = ";" })
EOF
Thank you