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

Pass hook name into plugin run functions

Open itmecho opened this issue 3 years ago • 0 comments

Implements #1050

This PR adds a third argument the plugin run function, allowing the user to easily run code only on install or update of a plugin.

It should be backwards compatible as existing functions that only accept 2 arguments will still work as before.

itmecho avatar Sep 06 '22 09:09 itmecho