Add item fields order

Fixes #337
This commit is contained in:
hrsh7th
2021-10-12 20:49:21 +09:00
parent 2a8dc6208a
commit 49acc84853
5 changed files with 26 additions and 11 deletions

View File

@@ -355,6 +355,10 @@ The documentation window's max height.
The documentation window's zindex.
#### formatting.fields (type: cmp.ItemField[])
The order of item's fields for completion menu.
#### formatting.format (type: fun(entry: cmp.Entry, vim_item: vim.CompletedItem): vim.CompletedItem)
A function to customize completion menu.