Closed miki725 closed 3 weeks ago
I think this is a feature and not a bug. I use the buffer binding to have localleader key mapped to per filtetype whichkey menus for different contexts, like fugitive, logs etc. This removes all the general mappings as the bug suggested, but keeps the specific mappings when used in the ftplugin.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Did you check docs and existing issues?
Neovim version (nvim -v)
0.9.1
Operating system/version
Arch Linux
Describe the bug
lets take a simple example:
all levels render for me as:
note that descriptions of
test
,test2
are all displayed on all levels.Now if any of the these keymaps are mapped to any buffer:
the descriptions for
test
andtest2
dissapear and only the buffer-related descriptions are displayed:Steps To Reproduce
add nested keymaps (same keys followed by more keys) and make one of them be linked to a buffer. for example:
Expected Behavior
all descriptions should show up in which-key menu
Repro