> > I think the simplest thing for now is to follow Bram's suggestion of > > using user_data. > > Hmm, would there be any harm in triggering CompleteDone before resetting > the complete info? I don't think so. Would anyone using the > autocommand event depend on the completion already being cleared? > If yes, then we would need to introduce another event. I rather keep it > simple and have just one event.
I'm using this function for the first time so I'm not best placed to comment. But my gut would say no, there should be no harm because you can still use v:completed_item to determine whether you are cancelling/accepting; but complete_info() would still give useful information like mode. Prabir? Others? -- -- 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/CACoUkn4xTSJ1BiemsyKtZrRxgJua6dW4pzOpn%2BW5e0a96sYAiw%40mail.gmail.com.
