mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-20 21:36:45 +00:00
add insecure option to the plugin spec
This commit is contained in:
parent
7e6c863bc7
commit
b6d2943703
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue