enable experimental ghost text for cmp

This commit is contained in:
2024-03-31 13:07:29 -04:00
parent 2baa73ca66
commit b7b6840d33

View File

@ -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)