@techee yeah, the only thing is whether to pass GeanyPlugin* to the register function, the rest looks good to me.
Since we'll be flooded by plugins wanting to implement this API, some of them using Peasy, some implementing several extensions just for fun, we'll need to distinguish all these extensions so let's leave the string.