The LSP keymaps at the moment uses a utilitarian function map() and it doesn't register the keymaps to the WhichKey plugin. Hence, either the map() function needs to be refactored to use the WhichKey plugin or the LSP's on_attach() function needs to use WhichKey to register the keybindings properly.
The LSP keymaps at the moment uses a utilitarian function
map()
and it doesn't register the keymaps to the WhichKey plugin. Hence, either themap()
function needs to be refactored to use the WhichKey plugin or the LSP'son_attach()
function needs to use WhichKey to register the keybindings properly.