Replies: 2 comments 2 replies
-
So, it totally is in my plans to expose this at some point - if you're keen on doing that I'd be happy to help however you need. The popup builder api has been stable for quite a while now, so I don't see an issue with making it public. Lemme know if you have any questions, otherwise, have at it :) |
Beta Was this translation helpful? Give feedback.
2 replies
-
Closing this now that I've submitted #1546, any followup can happen there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since git supports custom commands, it would be nice to be able to leverage the popup infrastructure in Neogit to provide popups for those commands as well. Whether it's your own personal scripts/aliases or some more organized project that adds git commands, providing a UI into those commands via Neogit would be awesome. I know this is possible in magit, and I think that in general it makes sense for Neogit to provide the platform for such extensions, similar to how Telescope is as much an infrastructure as it is a set of specific pickers.
Are there any plans to formalize and document the APIs needed to do so? Or is there some reason that Neogit maintainers would be hesitant to open things up for extension this way?
From some hacking about, I was able to put together a custom popup with very little effort in my personal nvim config. It seems like supporting this would really just come down to:
:Neogit
commandIf the maintainers are open to it, I'd be happy to help make this a reality!
Beta Was this translation helpful? Give feedback.
All reactions