folke / which-key.nvim

💥 Create key bindings that stick. WhichKey helps you remember your Neovim keymaps, by showing available keybindings in a popup as you type.
Apache License 2.0
5.38k stars 177 forks source link

feat(mappings): check if `desc` key exists when parsing mappings #589

Closed abayomi185 closed 5 months ago

abayomi185 commented 7 months ago

There are two patterns of adding a description, with a second string or with the desc key.

Legendary.nvim uses the parse function from which-key. This function does not check the desc key in the table, which should be supported.

folke commented 5 months ago

Thanks!