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.72k stars 263 forks source link

Packer wants to delete itself #1262

Open Phils-p opened 8 months ago

Phils-p commented 8 months ago

When running :PackerSync on a fresh packer install i get the message 'Removing the following directories . OK? (y/n) ' following the path to packer itself

Kushal-Nagwanshi commented 6 months ago

When running :PackerSync on a fresh packer install i get the message 'Removing the following directories . OK? (y/n) ' following the path to packer itself

now I get what happened to my packer :(

gevhaz commented 6 months ago

Seems like a duplicate of #718.

I had the same issue and solved it by following this answer (adding packer itself as a plugin in its own configuration): https://github.com/wbthomason/packer.nvim/issues/718#issuecomment-1001631163