diff options
author | mathew <glephunter@gmail.com> | 2023-08-15 18:47:14 +0800 |
---|---|---|
committer | glepnir <glephunter@gmail.com> | 2023-12-16 18:59:59 +0800 |
commit | e38027ef69f75653ee953b16ebf4a8652a3fb748 (patch) | |
tree | d27158d56da5810b942a3d561ae15b2711b2a7cd /runtime/lua/vim/_meta/options.lua | |
parent | 7e7da962de404e3a0952bcc0adc6fbe53eda3cfb (diff) | |
download | rneovim-e38027ef69f75653ee953b16ebf4a8652a3fb748.tar.gz rneovim-e38027ef69f75653ee953b16ebf4a8652a3fb748.tar.bz2 rneovim-e38027ef69f75653ee953b16ebf4a8652a3fb748.zip |
feat(ui): completeopt support popup like vim
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
-rw-r--r-- | runtime/lua/vim/_meta/options.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index 5e65ca6b1b..c908d7ae54 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -1061,6 +1061,10 @@ vim.bo.cfu = vim.bo.completefunc --- select one from the menu. Only works in combination with --- "menu" or "menuone". --- +--- popup Show extra information about the currently selected +--- completion in a popup window. Only works in combination +--- with "menu" or "menuone". Overrides "preview". +--- --- @type string vim.o.completeopt = "menu,preview" vim.o.cot = vim.o.completeopt |