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

How to install plugins in custom directory and use them #1219

Closed SiddidMandi closed 1 year ago

SiddidMandi commented 1 year ago

I like having all my plugins in the .config/nvim directory itself, however, packer defaults to .local/nvim/... I found the packer.init and

package_root = '/home/username/.config/nvim/PackerPlugins'

option and it got packer to install in the correct directory, but I still can't use it. The plugin installs but I don't think it is "read" by packer or something. Where is the packer.init option to get packer to read the specific directory?