aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/api.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-12-16 12:41:05 +0100
committerGitHub <noreply@github.com>2023-12-16 12:41:05 +0100
commit5ed55ff14c8b7e346811cb6228bf63fb5106bae9 (patch)
treed27158d56da5810b942a3d561ae15b2711b2a7cd /runtime/lua/vim/_meta/api.lua
parent7e7da962de404e3a0952bcc0adc6fbe53eda3cfb (diff)
parente38027ef69f75653ee953b16ebf4a8652a3fb748 (diff)
downloadrneovim-5ed55ff14c8b7e346811cb6228bf63fb5106bae9.tar.gz
rneovim-5ed55ff14c8b7e346811cb6228bf63fb5106bae9.tar.bz2
rneovim-5ed55ff14c8b7e346811cb6228bf63fb5106bae9.zip
Merge pull request #24723 from glepnir/popup
feat(complete): completeopt support popup like vim
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
-rw-r--r--runtime/lua/vim/_meta/api.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua
index 231e1c3404..c8afbd58dd 100644
--- a/runtime/lua/vim/_meta/api.lua
+++ b/runtime/lua/vim/_meta/api.lua
@@ -773,6 +773,16 @@ function vim.api.nvim_command(command) end
--- @return string
function vim.api.nvim_command_output(command) end
+--- Set info for the completion candidate index. if the info was shown in a
+--- window, then the window and buffer ids are returned for further
+--- customization. If the text was not shown, an empty dict is returned.
+---
+--- @param index integer the completion candidate index
+--- @param opts vim.api.keyset.complete_set Optional parameters.
+--- • info: (string) info text.
+--- @return table<string,any>
+function vim.api.nvim_complete_set(index, opts) end
+
--- Create or get an autocommand group `autocmd-groups`.
--- To get an existing group id, do:
---