piersolenski / telescope-import.nvim

Import modules with ease
186 stars 8 forks source link

Extra folder? #15

Closed kuator closed 6 months ago

kuator commented 9 months ago

In python a virtual environment might be in a completely different folder. That's the case with with poetry virtual environments, they are stored in a special $POETRY_CACHE. Is it possible to configure the plugin to grep in extra folders?

piersolenski commented 9 months ago

In theory, yes, as the plugin just uses https://github.com/BurntSushi/ripgrep behind the scenes. I'm not exactly sure what the api for this would look like though. Perhaps you could pass it cwd= followed by a string, or an array, similar to the way the built in find_files works?

piersolenski commented 6 months ago

I'll close this for now unless there's any more desire for it