wbthomason / packer.nvim

A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
MIT License
7.85k stars 265 forks source link

Overriding plugins #1201

Open prevostcorentin opened 1 year ago

prevostcorentin commented 1 year ago

Describe the feature

As I am contributing to neovim plugins, writing my own ones, and using my configuration on multiple hosts I would like to have an unchanged configuration across hosts.

I thought about adding a new feature that overrides plugins.

Using a plugins specification as this below:

  ["test/nvim"] = {
    [...]
  },
  ["override/test/nvim"] = {
    override = true
  }

The installed plugin will be override/test/nvim instead of test/nvim.

I implemented this in PR #1200

Can this be merged ?

Best regards.