myitcv / neovim

Go package for writing Neovim plugins (in Go!)
http://godoc.org/github.com/myitcv/neovim
MIT License
85 stars 4 forks source link

Define an approach by which plugins can share callbacks #30

Open myitcv opened 9 years ago

myitcv commented 9 years ago

Related: https://github.com/neovim/neovim/issues/1114

It doesn't make sense for multiple plugins to each register autocommands (for example) that send the same data multiple times. It can be sent once, and then re-used/broadcast within the plugin host (this needs a strategy itself)