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 /src/nvim/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 'src/nvim/vvars.lua')
-rw-r--r-- | src/nvim/vvars.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/vvars.lua b/src/nvim/vvars.lua index 5fc014a50c..f1b8c22bdd 100644 --- a/src/nvim/vvars.lua +++ b/src/nvim/vvars.lua @@ -208,6 +208,8 @@ M.vars = { 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| ]=], }, exception = { |