
+2
API Idea: on_completion_selected
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.
Customer support service by UserEcho