API Idea: on_completion_selected

ebi 9 aastat tagasi uuendatud 9 aastat tagasi 0
It would be nice to have a companion event to the existing on_query_completions which is triggered when the user selects a completion from the list. 
This would enable plugin developers to add features like automatically adding an include or import statement to the buffer when the user selects a certain completion. 
I guess such behaviour could be implemented using on_modified events, but it would be quiet error prone and complicated.