PrashanthaTP / nvim-config

Configuration files for Neovim
0 stars 0 forks source link

Bug: Plugins installed by Packer not being loaded #3

Open PrashanthaTP opened 1 year ago

PrashanthaTP commented 1 year ago

image

PrashanthaTP commented 1 year ago

Currently the as argument to packer use function is used to make sure that plugins are downloaded correctly inside pack folder Fix(pack) Update packer config to use alias for plugins


It seems packer.nvim clones plugins to pack/start directory with the folder structure as given to use function.

https://github.com/PrashanthaTP/nvim-config/blob/4760af48600b544e75e637f5aec9fe3b101352f2/lua/tpp/packer.lua#L15-L18

Without passing alias as , neovim will not load those files as the runtime path expects it in the form pack/*/start/* (only one folder after start but by default it will be <github account holder/repo>)

References