This commit is contained in:
2023-09-04 15:32:43 +02:00
parent bb1796a1ac
commit 49eb427abf
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ end
--- Asserts that a python module is installed
---@param mod string: The python module to check
function M.python3_module_installed(mod)
function M.assert_python3_module_installed(mod)
local resp = vim.system({ "python3", "-m", "pip", "show", mod, }):wait()
if not resp.code == 0 then
error("Python3 module " .. mod .. " not installed:\n" .. resp.stdout .. "\n" .. resp.stderr)