ggandor / leap-spooky.nvim

👻 Actions at a distance
The Unlicense
277 stars 7 forks source link

[Feature request] labels on text objects themselves #11

Open Gazareth opened 1 year ago

Gazareth commented 1 year ago

Hi there, thanks for the great plugin!

I noticed you mentioned you wanted to add the functionality where the text objects are highlighted:

Label the text objects themselves (at least blocks, paragraphs, etc.), so that you can immediately choose one, instead of having to specify the reference point with a default 2-char Leap motion.

I was just wondering if you had any ideas on how to achieve that? It doesn't look like there is any kind of API for text objects. I have however found https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-ai.md which does have an API we could leverage?