Fixed python.lua for .py

This commit is contained in:
DarthMooMancer
2025-03-21 08:50:03 -04:00
parent a666316194
commit 3ccfe4bd9d
+1 -1
View File
@@ -222,7 +222,7 @@ function M.custom_run()
venv_cmd = vim.fn.filereadable(venv_bash) == 1 and "source " .. venv_bash .. " && " or "" venv_cmd = vim.fn.filereadable(venv_bash) == 1 and "source " .. venv_bash .. " && " or ""
end end
M.open_float_terminal(venv_cmd .. "python3 " .. custom_file) M.open_float_terminal(venv_cmd .. "python3 " .. custom_file .. ".py")
end) end)
end end