Add cmp.get_entries. Fixes #831

This commit is contained in:
hrsh7th
2022-03-15 11:37:24 +09:00
parent 1001683bee
commit e23de1f2b4
2 changed files with 8 additions and 0 deletions

View File

@@ -162,6 +162,9 @@ NOTE: You can call these functions in mapping via `<Cmd>lua require('cmp').compl
*cmp.visible* ()
Return the completion menu is visible or not.
*cmp.get_entries* ()
Return current all entries.
*cmp.get_selected_entry* ()
Return current selected entry. (contains preselected)