diff options
author | glepnir <glephunter@gmail.com> | 2024-12-05 17:49:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-05 17:49:39 +0800 |
commit | 2f5e7cbac49ed2fde571c5bf85619afec624f8e8 (patch) | |
tree | 83a34f6938347bca119ec569e8d5602abd2a7711 /runtime/lua/vim/_meta/vvars.lua | |
parent | 540def7d2c1aa97d18b08bd7dc234442a7ab4757 (diff) | |
download | rneovim-2f5e7cbac49ed2fde571c5bf85619afec624f8e8.tar.gz rneovim-2f5e7cbac49ed2fde571c5bf85619afec624f8e8.tar.bz2 rneovim-2f5e7cbac49ed2fde571c5bf85619afec624f8e8.zip |
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
https://github.com/vim/vim/commit/1c5a120a701fcf558617c4e70b5a447778f0e51d
Diffstat (limited to 'runtime/lua/vim/_meta/vvars.lua')
-rw-r--r-- | runtime/lua/vim/_meta/vvars.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/vvars.lua b/runtime/lua/vim/_meta/vvars.lua index 8784fdbac9..264907109f 100644 --- a/runtime/lua/vim/_meta/vvars.lua +++ b/runtime/lua/vim/_meta/vvars.lua @@ -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 = ... |