Fixed python.lua for .py
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user