Hi all, We are using the CompleteDone event in govim (https://github.com/govim/govim) in order to add import statements when a user selects a completion candidate (this happens when completion candidates result from unimported completions in gopls).
However our handler for CompleteDone needs to know whether the event has been triggered as part of an omni-complete (<C-x><C-o>) or a <C-x><C-n> completion (not sure if this has a specific name). There doesn't appear to be a way to distinguish however from the value v:completed_item. Are we missing something obvious here? Many thanks in advance. Paul -- -- 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 vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CACoUkn5Vz%3D2SL3wuo9gQya2RqTgCFuu-2hz7GhoOfuu6FS%3D%3DpA%40mail.gmail.com.