enable experimental ghost text for cmp
This commit is contained in:
parent
2baa73ca66
commit
b7b6840d33
1 changed files with 4 additions and 0 deletions
|
|
@ -43,6 +43,10 @@ cmp.setup {
|
||||||
entries = { name = 'custom', selection_order = 'near_cursor' },
|
entries = { name = 'custom', selection_order = 'near_cursor' },
|
||||||
},
|
},
|
||||||
|
|
||||||
|
experimental = {
|
||||||
|
ghost_text = true
|
||||||
|
},
|
||||||
|
|
||||||
formatting = {
|
formatting = {
|
||||||
fields = {'menu', 'abbr', 'kind'},
|
fields = {'menu', 'abbr', 'kind'},
|
||||||
format = function(entry, item)
|
format = function(entry, item)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue