> > I have likely not understood the OP's problem exactly, but wouldn’t
> >
> > doautocmd User MyEvent
> >
> > be one such way?
>
> Thanks. Yes, as I understand it, it would.
>
> My original enquiry was really to understand whether there was an
> existing standard/preference amongst the various options.
Using an autocommand still requires the event-listner to know about the
plugin and the event. And there is no good way to pass arguments.
Registering a callback would be a more flexible method. The only
condition is that the registration method is available, thus the plugins
load in a certain sequence.
--
hundred-and-one symptoms of being an internet addict:
40. You tell the cab driver you live at
http://123.elm.street/house/bluetrim.html
41. You actually try that 123.elm.street address.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201905291810.x4TIATrQ015858%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.