HI,
First all the code can be found HERE !
When I check the doc of packadd, it is mentioned
Search for an optional plugin directory in ‘packpath’ and source any plugin files found. The directory must match: pack/*/opt/{name}
Then this command is used to install packer, vim.cmd [[packadd packer.nvim]]
however packer.nvim is installed in the start directory fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
is packadd the only way to load dynamically a package ?
The start path is mentioned in the documentation of packadd but I don’t understand it.
If loading packages from "pack//start" was skipped,then this directory is searched first: pack//start/{name}
if someone can help me, why using packadd makes sense ?
Tks ~