vim-patch:9.1.0905: Missing information in CompleteDone event (#31455)

Problem:  Missing information in CompleteDone event
Solution: add complete_word and complete_type to v:event dict
          (glepnir)

closes: vim/vim#16153

1c5a120a70
This commit is contained in:
glepnir
2024-12-05 17:49:39 +08:00
committed by GitHub
parent 540def7d2c
commit 2f5e7cbac4
6 changed files with 109 additions and 3 deletions

View File

@ -197,6 +197,8 @@ vim.v.errors = ...
--- changing window (or tab) on `DirChanged`.
--- status Job status or exit code, -1 means "unknown". `TermClose`
--- reason Reason for completion being done. `CompleteDone`
--- complete_word The word that was selected, empty if abandoned complete.
--- complete_type See `complete_info_mode`
--- @type any
vim.v.event = ...