From ea930e35457df4a367b537c472af8d5c6e8ae7eb Mon Sep 17 00:00:00 2001 From: Hai Ninh Hoang <34930708+haininhhoang94@users.noreply.github.com> Date: Tue, 26 Sep 2023 18:35:27 +0700 Subject: [PATCH] fix(python): use venv for DAP Python (#1457) dap_enabled = true, -- Ensure that the venv selector affect PythonPath in nvim-dap as well! (in venv-selector.nvim) --- lua/lazyvim/plugins/extras/lang/python.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/lazyvim/plugins/extras/lang/python.lua b/lua/lazyvim/plugins/extras/lang/python.lua index e64decd1..4530bd97 100644 --- a/lua/lazyvim/plugins/extras/lang/python.lua +++ b/lua/lazyvim/plugins/extras/lang/python.lua @@ -68,6 +68,7 @@ return { "env", ".env", }, + dap_enabled = true, -- Ensure that the venv selector affect PythonPath in nvim-dap as well! }, keys = { { "cv", ":VenvSelect", desc = "Select VirtualEnv" } }, },