easypick.nvim
easypick.nvim copied to clipboard
Feature Request: Pass arguments to a picker
From the config example, there's a custom picker named "changed_files" that relies on a local for the base branch. It would be great if, for instance, we could pass a base branch into the picker function when we use :Easypick changed_files develop.
For now, I'll just define a changed_files for each base branch I would compare against in my workflow, but it'd be great to extend other pickers this way, too.
Hi, I think the way to do this is to allow passing a function as command. I will look into it when I have time.
Any progress on this? Any workarounds?
@jcorum11 I tried hacking it together recently but it required mote restructuring than I expected. It's not hard, but I have very little free time to play around.
+1 for this :-) would be a great feature. Thanks for the great plugin!