From 3ccfe4bd9d1deef159bc3bca79768abf8e94ddc4 Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Fri, 21 Mar 2025 08:50:03 -0400 Subject: [PATCH] Fixed python.lua for .py --- lua/Polydev/python.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/Polydev/python.lua b/lua/Polydev/python.lua index c6ecd52..e515d1a 100644 --- a/lua/Polydev/python.lua +++ b/lua/Polydev/python.lua @@ -222,7 +222,7 @@ function M.custom_run() venv_cmd = vim.fn.filereadable(venv_bash) == 1 and "source " .. venv_bash .. " && " or "" end - M.open_float_terminal(venv_cmd .. "python3 " .. custom_file) + M.open_float_terminal(venv_cmd .. "python3 " .. custom_file .. ".py") end) end