wbthomason / packer.nvim

A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
MIT License
7.87k stars 267 forks source link

processing command line: E492: Not an editor command: PackerSync Press ENTER or type command to continue Error detected while processing command line: E492: Not an editor command: PackerSync Press ENTER or type command to continue Error detected while processing command line: E492: Not an editor command: PackerSync Press ENTER or type command to continue #1079

Closed lucasjinreal closed 2 years ago

lucasjinreal commented 2 years ago

centos7 can not run

with nvim 0.8 nightly

Error detected while processing command line: E492: Not an editor command: PackerSync Press ENTER or type command to continue

I already run:

git clone https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/opt/packer.nvim
lucasjinreal commented 2 years ago

macOS, Ubuntu all works, but just not cnetos7

EdenEast commented 2 years ago

What version of git are you using. I know that CentOS has very old versions of software. Also you are adding it to opt try start instead.

lucasjinreal commented 2 years ago

yes, very old, but this company's infora, can do anything on it, upgrade git would work? what do you mean try start?

EdenEast commented 2 years ago

You have your path being:

~/.local/share/nvim/site/pack/packer/opt/packer.nvim

Try changing it to:

~/.local/share/nvim/site/pack/packer/start/packer.nvim

Neovim will load plugins from the start directory only. The opt folder is for lazy loading plugins.

lucasjinreal commented 2 years ago

thanks I will try it. I don't know where copied the install script written it as opt