Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

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

Open
chimay opened this issue Feb 8, 2022 · 4 comments
Open

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

chimay opened this issue Feb 8, 2022 · 4 comments

Comments

@chimay
Copy link

chimay commented Feb 8, 2022

so it creates 2 symlinks :

  • packager/start/name -> ~/plugin/name, which is fine
  • ~/plugin/name/name -> ~/plugin/name, which is ... infinite ? :)

really cool pack manager, btw !

@kristijanhusak
Copy link
Owner

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
Copy link
Author

chimay commented Feb 9, 2022

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
Copy link
Owner

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
Copy link
Author

chimay commented Feb 9, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants