ADD: formatting.expandable_indicator to show the expandable indicator (#1207)

* ADD: formatting.expandable_indicator to show the `expandable` indicator

* UPDATA: doc/cmp.txt  lua/cmp/entry.lua  lua/cmp/typed/cmp.lua
This commit is contained in:
NEX
2022-10-02 21:39:52 +08:00
committed by GitHub
parent 203aa26fc2
commit da2d88ec1a
4 changed files with 14 additions and 6 deletions

View File

@@ -40,6 +40,7 @@ return function()
},
formatting = {
expandable_indicator = true,
fields = { 'abbr', 'kind', 'menu' },
format = function(_, vim_item)
return vim_item