Skip to content
Discussion options

You must be logged in to vote

The way vim.pack installs plugins is by downloading them into a dedicated "plugin package" directory (:h vim.pack-directory). Loading them is then can be done with :packadd plug-name.

The suggestion for "local" plugins is to follow a similar workflow: put a plugin in a dedicated (custom) plugin package and potentially load with :packadd my-local-plug. There are several ways to do this:

  • Put such plugins directly into something like '~/.local/share/nvim/site/pack/mine/{start,opt}'. If put into 'start', then they will be loaded during startup. If 'opt' - execute :packadd my-local-plug.
  • If you want to have a dedicated directory somewhere else, then create a symlink from that directory to a p…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
neovim-upstream Related to how Neovim works
2 participants