Closed feekApp closed 1 month ago
Can't reproduce. Provide a repro with exact steps to reproduce if you want me to further look into this.
Hi Folke,
its ver strange, it seems happening for only one value of delay, namely 1000
.
How to reproduce:
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
{ "folke/which-key.nvim",
event = "VeryLazy",
opts = {
delay = 1000,
},
},
-- add any other plugins here
},
})
for this config the popup does not have any delay, changing the delay value to 1010
or 999
the delay is present as expected.
ok, sow when it's exactly the same as timeoutlen
. Will check
yep
just checked, when changing timeoutlen
to (exactly) the delay value (no matter what value) the delay is gone.
Thnx for the quick fix!
Did you check docs and existing issues?
Neovim version (nvim -v)
0.10.0 (homebrew, stable::)
Operating system/version
macOs 15.5
Describe the bug
Hi,
it seems like that
gv
(Start Visual mode with the same area as the previous area and the same mode) does not respect the delay set in which-key options. When pressinggv
, the which-key popup is shown immediately.Steps To Reproduce
gv
Expected Behavior
Use the set delay.
Health
No response
Log
No response
Repro
No response