docs(readme): set origin when bootstrapping lazy.nvim

If you set a different default remote in your global git config, e.g.

```
[clone]
  defaultRemoteName = "up"
```

then the default git command clones using that remote, which confuses lazy.nvim's update system later.

Looks like actual plugins are handled properly.
This commit is contained in:
Gibson Fahnestock 2023-08-29 14:19:49 +02:00 committed by GitHub
commit 56e766b95b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,6 +43,7 @@ if not vim.loop.fs_stat(lazypath) then
"git",
"clone",
"--filter=blob:none",
"--origin=origin",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,