Chris 4 年之前
父节点
当前提交
e4d15fba88
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      utils/installer/install-nv-code.sh

+ 2 - 2
utils/installer/install-nv-code.sh

@@ -57,7 +57,7 @@ installpynvim() {
 
 installpacker() {
     git clone https://github.com/wbthomason/packer.nvim\
- ~/.local/share/nvim/site/pack/packer/opt/packer.nvim
+ ~/.local/share/nvim/site/pack/packer/start/packer.nvim
 }
 
 cloneconfig() {
@@ -125,7 +125,7 @@ pip3 list | grep pynvim >/dev/null && echo "pynvim installed, moving on..." || i
 # move old nvim directory if it exists
 # [ -d "$HOME/.config/nvim" ] && moveoldnvim
 
-if [ -a "$HOME/.local/share/nvim/site/pack/packer/opt/packer.nvim" ]; then
+if [ -a "$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim" ]; then
     echo 'packer already installed'
 else
     installpacker