packer.nvim
packer.nvim copied to clipboard
Pass hook name into plugin run functions
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.