aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/README.md7
-rwxr-xr-xdocs/nvim_setup_linux.sh2
2 files changed, 5 insertions, 4 deletions
diff --git a/docs/README.md b/docs/README.md
index d67db69..526de9d 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -205,9 +205,10 @@ directory, and run the following command to install this configuration:
git clone --depth=1 https://github.com/jdhao/nvim-config.git .
```
-After that, when we first open nvim, run command `:PackerInstall` to install
-all the plugins. Since I use quite a lot of plugins (more than 60), it may take
-some time to install all of them, depending on your network condition.
+After that, when we first open nvim, run command `:PackerSync` to install all
+the plugins and generate `packer_compiled.lua`. Since I use quite a lot of
+plugins (more than 60), it may take some time to install all of them, depending
+on your network condition.
# Automatic installation
diff --git a/docs/nvim_setup_linux.sh b/docs/nvim_setup_linux.sh
index 32fd4dd..81990b1 100755
--- a/docs/nvim_setup_linux.sh
+++ b/docs/nvim_setup_linux.sh
@@ -212,6 +212,6 @@ git clone --depth=1 https://hub.fastgit.org/wbthomason/packer.nvim \
~/.local/share/nvim/site/pack/packer/start/packer.nvim
echo "Installing plugins"
-"$NVIM_DIR/bin/nvim" +PackerInstall +qall
+"$NVIM_DIR/bin/nvim" +PackerSync +qall
echo "Finished installing Nvim and its dependencies!"