API Idea: on_completion_selected

ebi 7 років тому • оновлений 7 років тому 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.