packer.nvim icon indicating copy to clipboard operation
packer.nvim copied to clipboard

how to change the plugin installation path?

Open ztoiax opened this issue 3 years ago • 3 comments

ztoiax avatar Jan 16 '22 04:01 ztoiax

There is a package_root option in the config.

require("packer").startup({
  function(use)
    use "your/plugin"
  end,

  config = {
    package_root = "/plugin/installation/path"
  }
})

WieeRd avatar May 17 '22 17:05 WieeRd

NOTE: changing package_root will break 'rtp' and 'packpath'.

kyoh86 avatar Jan 29 '23 16:01 kyoh86

@kyoh86 what do you mean by 'break'?

WieeRd avatar Jan 29 '23 16:01 WieeRd