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.75k stars 261 forks source link

[Q&A] Copy ~/.config/nvim and ~/.local/share/nvim to another computer with the same OS does not work #1025

Closed the-die closed 1 year ago

the-die commented 1 year ago

I want to use nvim on another computer without network (same OS) as well, so I copied ~/.config/nvim and ~/.local/share/nvim from my own computer to that computer. Then I run 'PackerCompile', but some plugins report errors. My config file is https://github.com/the-die/dotfiles/tree/main/nvim. How can I fix it please?

EdenEast commented 1 year ago

What are the issues that you are having? Need more information on what is not working in order to help. Also there is no real bug here with packer. I see you have opened a discussion issue. That is a better place for this question.

GgoCoder commented 1 year ago

yes,i have the same error. Ubuntu22.04 with network and centos7 without network, i copied /root/~.config/* and /root/.lcoal/* from Ubuntu22.04 to centos7/home/user/.localand /home/user/.config. Then, something errors. Open nvim in bash with pakcer.nvim:Error running config for lsp_signature.nvim: attempt to call a nil value, all plugins have same error. And:PackerStatus show the path of every plugin is/root/.local/share/... , not /home/user/.lcoal/share or~/.local/share