summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbouzar Parvan <[email protected]>2021-07-07 17:27:22 +0430
committerGitHub <[email protected]>2021-07-07 08:57:22 -0400
commit649849ad582ea9d1ce3bcdae0428e9c49869025c (patch)
treedbbad00a7fc49c1114fc69af55bfe6323f605ce9
parent2049c33dfb90d9003bf8861c234f53c1bf13e670 (diff)
we don't need all the neovim git history to install the latest version (#756)
-rwxr-xr-xutils/bin/install-latest-neovim2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/bin/install-latest-neovim b/utils/bin/install-latest-neovim
index 8943b751..8d1d95fd 100755
--- a/utils/bin/install-latest-neovim
+++ b/utils/bin/install-latest-neovim
@@ -1,7 +1,7 @@
!#/bin/bash
cd ~
sudo rm -r neovim
-git clone https://github.com/neovim/neovim
+git clone --branch master --depth 1 https://github.com/neovim/neovim
cd neovim
sudo make CMAKE_BUILD_TYPE=Release install
cd ~