Update python.lua
This commit is contained in:
@@ -169,13 +169,13 @@ function M.create_new_file()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function M.install_dependency()
|
function M.install_dependency()
|
||||||
vim.ui.input({ prompt = "Enter pip module: ", function(pip_module)
|
vim.ui.input({ prompt = "Enter pip module: " }, function(pip_module)
|
||||||
if not pip_module or pip_module == "" then
|
if not pip_module or pip_module == "" then
|
||||||
return print("Pip canceled")
|
return print("Pip canceled")
|
||||||
end
|
end
|
||||||
|
|
||||||
M.open_float_terminal("pip install " .. pip_module)
|
M.open_float_terminal("pip install " .. pip_module)
|
||||||
end})
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M.run()
|
function M.run()
|
||||||
|
|||||||
Reference in New Issue
Block a user