This commit is contained in:
ngn 2025-02-26 16:17:47 +00:00 committed by GitHub
commit 1ee66c44cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -158,6 +158,11 @@ M.clone = {
vim.list_extend(args, { "-b", self.plugin.branch })
end
if self.plugin.insecure then
args[#args + 1] = "-c"
args[#args + 1] = "http.sslVerify=false"
end
table.insert(args, self.plugin.dir)
if vim.fn.isdirectory(self.plugin.dir) == 1 then