kristijanhusak / vim-packager

Vim plugin manager that utilizes "jobs" and "pack" features.
MIT License
245 stars 9 forks source link

packager#local creates a symlink in the plugin root directory #36

Open chimay opened 2 years ago

chimay commented 2 years ago

so it creates 2 symlinks :

really cool pack manager, btw !

kristijanhusak commented 2 years ago

Where is exactly your local package located? I'm not sure what will happen if you add a path to a local package that is already located in the packager folder. That might cause some issues. Idea is to add any other path that will just create a symlink to the packager folder: Example:

packager.local('~/packages/my-package')

and this will basically do ln -s ~/packages/my-package ~/.config/nvim/pack/packager/start/my-package

chimay commented 2 years ago

here is the line:

call packager#local('~/racine/public/wheel',  #{ type : start })

it is not in the vim-packager dir tree, which is:

~/racine/plugin/manager/neovimpack/packager
kristijanhusak commented 2 years ago

how exactly are you setting your packages location when it's ~/racine/plugin/manager/neovimpack ? By default it should be something like ~/.config/nvim/pack/packager.

chimay commented 2 years ago

~/.config/nvim/pack is a symlink to ~/racine/plugin/manager/neovimpack