linux-cultist / venv-selector.nvim

Allows selection of python virtual environment from within neovim
MIT License
378 stars 40 forks source link

[Feature Request] Allow searches on discontinuous characters #134

Closed TroySigX closed 4 weeks ago

TroySigX commented 1 month ago

image

In my case, I'd like the picker to show the cs589-hw4 venv when I type 5894. main branch can do this, but not regexp branch.

linux-cultist commented 1 month ago

Hi,

Thanks for the suggestion! I did change the default filtering in the regexp branch to match all characters, but going back to the previous filtering can easily be made into an option you can set. :)

linux-cultist commented 4 weeks ago

Update the plugin and set this option to "character" and you will get the behavior you want. :)

telescope_filter_type = "character" -- When you type something in telescope, filter by "substring" or "character"
TroySigX commented 4 weeks ago

Thank you! Really appreciate it.