This commit is contained in:
hrsh7th
2022-01-08 13:33:53 +09:00
parent 5533c352c6
commit a4f83fd839
3 changed files with 8 additions and 3 deletions

View File

@@ -383,6 +383,8 @@ completion.autocomplete~
formatting.format~
`fun(entry: cmp.Entry, vim_item: vim.CompletedItem): vim.CompletedItem`
The function to customize the completion menu appearance. See |complete-items|.
NOTE: The `vim.CompletedItem` can have special properties `abbr_hl_group`,
`kind_hl_group` and `menu_hl_group`.
*cmp-config.formatting.fields*
formatting.fields~