{"repo":"tnfru/nvim-venv-detector","free":true,"listed":false,"github":"https://github.com/tnfru/nvim-venv-detector","clone":"git clone https://github.com/tnfru/nvim-venv-detector.git","description":"Neovim Plugin for detecting venv","language":"Lua","stars":12,"topics":["neovim","neovim-configuration","neovim-plugin","poetry","python","uv","venv","automation","developer-tools","lua"],"license":"MIT","category":"workflow-automation","readme_excerpt":"nvim-venv-detector 🐍 Automatic Python Virtual Environment Detection for Neovim Stop manually configuring Python virtual environments in Neovim. nvim-venv-detector is a lightweight, zero-config plugin that automatically finds and activates the correct virtual environment for your projects. ✨ Features - 🚀 Zero-Config & Automatic : Runs on startup without needing any configuration. - 🐍 Broad Support : Detects virtual environments from uv , Poetry , standard venv , and virtualenvwrapper . - ⚡️ Fast & Lightweight : Pure Lua with a minimal codebase. Detection is just a few filesystem checks; the only subprocess is a timeout-bounded (2s) poetry lookup, and only in Poetry projects. - 🔄 Full Environment Activation : Sets VIRTUAL ENV and prepends the venv's bin directory to PATH , just like source .venv/bin/activate . Switching projects replaces the environment rather than stacking it. - 🛠️ Smart LSP Integration : Restarts the configured Python LSP clients so they relaunch with the new environment. - 🔁 Re-detection on Directory Change : Re-runs detection whenever you switch projects ( DirChanged ), not just once at startup. - ⚙️ Configurable : Fine-tune behavior with optional configuration settings. - 🔒 Trust Validation : Validates that a detected venv is genuine and that its interpreter is safe to run before activating it. - 🛠️ Backward Compatible : Still exposes the detected Python path to vim.g.venv detector python path for manual LSP configuration. Demo https://github.com/u","default_branch":null,"files":null,"tree":[],"storefront":"/r/tnfru","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tnfru/nvim-venv-detector/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}