Adding ghost text preview to completions.

This commit is contained in:
Finch 2024-01-26 11:12:15 -06:00
parent 533c7fdf41
commit f741b82166

View File

@ -530,6 +530,9 @@ if cmp then
completion = {
completeopt = 'menu,menuone,noinsert' -- TODO: Necessary copy of the default completeopt?
},
experimental = {
ghost_text = true,
},
mapping = {
-- Key mappings based off of the standard autocomplete keybindings from VIM
['<c-n>'] = cmp.mapping.select_next_item(),