VonHeikemen / fine-cmdline.nvim

Enter ex-commands in a nice floating input.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add new hooks `on_update`?

MSDimos opened this issue · comments

As document mentioned, there are only there hooks supported.

I want to redraw the searchbox when the search result changes, for example:

image

5 is current index, 10 is the count of the search result.

I know that I can use on_done to do it, but it's too hard to code.
Is there any possibility to add a new hook named on_update(input, value, current_index, total_count)?

I have read the source code, maybe we can trigger on_update here ?
image