flash.nvim icon indicating copy to clipboard operation
flash.nvim copied to clipboard

feature: add function or pattern to exclude labels when searching.

Open dirichy opened this issue 11 months ago • 0 comments

Did you check the docs?

  • [X] I have read all the flash.nvim docs

Is your feature request related to a problem? Please describe.

I use this plugin to jump in chinese file. I use pinyin(a method to use some alphabet to represent chinese) to match chinese and jump(with custom mode function to convert pinyin to regular formula contains chinese). When I search english, this plugin will disable the next char of every match. but when I searching chinese, since the next char of every match is still chinese, it will not disable the alphabet that representing this chinese word.

Describe the solution you'd like

I want to let this plugin exclude labels smartly that support the custom “mode” function.

Describe alternatives you've considered

I want to have an api to define a custom function to dicide which label should be exclude. The input should be all of next char of matches, the out put is a table contains all of labels should be excluded.

Additional context

No response

dirichy avatar Mar 05 '24 18:03 dirichy