changed bash configs

This commit is contained in:
2025-11-03 18:51:49 +03:00
parent d8fd8fce36
commit 93f693874e
6 changed files with 29 additions and 11 deletions

View File

@ -25,6 +25,11 @@ function export.get_python_path()
return path.join(vim.env.VIRTUAL_ENV, "bin", "python")
end
local match = vim.fn.glob(path.join(workspace, ".venv"))
if match ~= "" then
return path.join(workspace, ".venv", "bin", "python")
end
-- Find and use virtualenv via poetry in workspace directory.
while workspace ~= "" do
if workspace ~= "" then