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
4.76k stars 154 forks source link

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

Closed abayomi185 closed 1 month ago

abayomi185 commented 3 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 1 month ago

Thanks!