feat(ui): completeopt support popup like vim

This commit is contained in:
mathew
2023-08-15 18:47:14 +08:00
committed by glepnir
parent 7e7da962de
commit e38027ef69
20 changed files with 519 additions and 21 deletions

View File

@@ -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