diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-01-17 08:38:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-17 08:38:58 +0800 |
commit | 0d3a8e8c1a7778c6c79658f26ba492a5f4a17d18 (patch) | |
tree | fa25b2ada0e41c1084cb3f40f6e3025c52b07cb7 /src/nvim/eval.lua | |
parent | bf098c12e3078df49fd7dee5ba7c2100a211d4c8 (diff) | |
download | rneovim-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 'src/nvim/eval.lua')
-rw-r--r-- | src/nvim/eval.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 5c7b2791e8..ecb213c811 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -1398,7 +1398,8 @@ M.funcs = { 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. |