linux-cultist / venv-selector.nvim

Allows selection of python virtual environment from within neovim
MIT License
388 stars 41 forks source link

Setting multiple `name`s returns too many results #8

Closed patrickarmengol closed 1 year ago

patrickarmengol commented 1 year ago

The configuration examples note the following about the name configuration option:

NOTE: You can also use a lua table here for multiple names: {"venv", ".venv"}`

When using the following settings, the result set in the telescope window includes all files/dirs in the current directory:

  {
    "linux-cultist/venv-selector.nvim",
    opts = {
      search_venv_managers = false,
      search_workspace = true,
      search = true,
      name = { "venv", ".venv" },
    },
  },
linux-cultist commented 1 year ago

Thanks for taking the time to report this. This was very interesting. I cant replicate this but that was not surprising. Which operating system are you using?

patrickarmengol commented 1 year ago

No longer an issue in the most recent version.