From 36e6fb57efc6a1ae90d7c475cea022b628003efc Mon Sep 17 00:00:00 2001
From: Vincent Huang <112535265+vh-x@users.noreply.github.com>
Date: Sat, 29 Mar 2025 06:23:08 +0800
Subject: [PATCH] Update python.md
venv-selector.nvim was missing from the docs
---
docs/extras/lang/python.md | 40 ++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/docs/extras/lang/python.md b/docs/extras/lang/python.md
index 987e02032a..83a5cb31c9 100644
--- a/docs/extras/lang/python.md
+++ b/docs/extras/lang/python.md
@@ -338,6 +338,46 @@ opts = nil
+## [venv-selector.nvim](https://github.com/linux-cultist/venv-selector.nvim/tree/regexp)
+
+
+
+
+
+```lua
+opts = {
+ settings = {
+ options = {
+ notify_user_on_venv_activation = true,
+ },
+ },
+}
+```
+```lua
+{
+ "linux-cultist/venv-selector.nvim",
+ branch = "regexp", -- Use this branch for the new version
+ cmd = "VenvSelect",
+ enabled = function()
+ return LazyVim.has("telescope.nvim")
+ end,
+ opts = {
+ settings = {
+ options = {
+ notify_user_on_venv_activation = true,
+ },
+ },
+ },
+ -- Call config for python files and load the cached venv automatically
+ ft = "python",
+ keys = { { "cv", ":VenvSelect", desc = "Select VirtualEnv", ft = "python" } },
+}
+```
+
+
+
+
+
## [nvim-cmp](https://github.com/hrsh7th/nvim-cmp) _(optional)_