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

@@ -451,6 +451,11 @@ confirmation.get_commit_characters~
You can append or exclude commitCharacters via this configuration option
function. The commitCharacters are defined by the LSP spec.
*cmp-config.formatting.expandable_indicator*
formatting.expandable_indicator~
`cmp.expandable_indicator`
Boolean to show the `~` expandable indicator in cmp's floating window.
*cmp-config.formatting.fields*
formatting.fields~
`cmp.ItemField[]`