From 16723f902ed8062422cbdc3c0427bbb69e6537e4 Mon Sep 17 00:00:00 2001 From: "asep.komarudin" Date: Sat, 22 Jun 2024 14:14:49 +0700 Subject: [PATCH] fix: python test linux and windows --- lua/plugins/python.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/python.lua b/lua/plugins/python.lua index 01d5dd7..2658b06 100644 --- a/lua/plugins/python.lua +++ b/lua/plugins/python.lua @@ -72,7 +72,7 @@ if pcode.active_python_config then dap = { justMyCode = false }, args = { "--log-level", "DEBUG" }, runner = "pytest", - python = "python", + python = vim.fn.has("win32") == 0 and "python3" or "python", }), }, })