Adding ghost text preview to completions.
This commit is contained in:
parent
533c7fdf41
commit
f741b82166
3
init.lua
3
init.lua
@ -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(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user