From 56e766b95b280ae9fab5ec9de0edb87038885a48 Mon Sep 17 00:00:00 2001 From: Gibson Fahnestock Date: Tue, 29 Aug 2023 14:19:49 +0200 Subject: [PATCH] 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. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 62de315..c074f8a 100644 --- a/README.md +++ b/README.md @@ -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,