aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/vimfn.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-01-17 08:38:58 +0800
committerGitHub <noreply@github.com>2025-01-17 08:38:58 +0800
commit0d3a8e8c1a7778c6c79658f26ba492a5f4a17d18 (patch)
treefa25b2ada0e41c1084cb3f40f6e3025c52b07cb7 /runtime/lua/vim/_meta/vimfn.lua
parentbf098c12e3078df49fd7dee5ba7c2100a211d4c8 (diff)
downloadrneovim-0d3a8e8c1a7778c6c79658f26ba492a5f4a17d18.tar.gz
rneovim-0d3a8e8c1a7778c6c79658f26ba492a5f4a17d18.tar.bz2
rneovim-0d3a8e8c1a7778c6c79658f26ba492a5f4a17d18.zip
vim-patch:9.1.1020: no way to get current selected item in a async context (#32056)
Problem: no way to get current selected item in a async context Solution: add completed flag to show the entries of currently selected index item (glepnir) closes: vim/vim#16451 https://github.com/vim/vim/commit/037b028a2219d09bc97be04b300b2c0490c4268d Co-authored-by: glepnir <glephunter@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index 6316ab2bfc..4b5b276023 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -1037,7 +1037,8 @@ function vim.fn.complete_check() end
--- typed text only, or the last completion after
--- no item is selected when using the <Up> or
--- <Down> keys)
---- inserted Inserted string. [NOT IMPLEMENTED YET]
+--- completed Return a dictionary containing the entries of
+--- the currently selected index item.
--- preview_winid Info floating preview window id.
--- preview_bufnr Info floating preview buffer id.
---