Add formatting.deprecated option

This commit is contained in:
hrsh7th
2021-08-24 22:59:39 +09:00
parent fc31a7e8ef
commit 2f0f5f3a91
4 changed files with 13 additions and 2 deletions

View File

@@ -195,6 +195,13 @@ vim's `completeopt` setting. Warning: Be careful when changing this value.
Default: `menu,menuone,noselect`
### formatting.deprecated (type: boolean)
Specify deprecated candidate should be marked as deprecated or not.
Default: `true`
### formatting.format (type: fun(entry: cmp.Entry, vim_item: vim.CompletedItem): vim.CompletedItem)
A function to customize completion menu.