enable experimental ghost text for cmp
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user