Wansmer / sibling-swap.nvim

Neovim plugin for swaps closest siblings with Tree-Sitter
MIT License
162 stars 1 forks source link

keymaps have no `desc` #18

Closed dlyongemallo closed 3 months ago

dlyongemallo commented 3 months ago

I use WhichKey and there doesn't seem to be a way to use sibling-swap's keymaps to set the desc field which is normally set when using vim.keymap.set.

This is what I see in WhichKey for those keys (e.g., following <Leader>s): image

It'd be perfectly fine to set them by default to the values of the functions which are called, e.g., l -> swap_with_right and so on. I just want a hint as to what those keys do in that context.

Wansmer commented 3 months ago

Done in #19

dlyongemallo commented 3 months ago

Awesome! Thanks so much!

image