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 = {
|
completion = {
|
||||||
completeopt = 'menu,menuone,noinsert' -- TODO: Necessary copy of the default completeopt?
|
completeopt = 'menu,menuone,noinsert' -- TODO: Necessary copy of the default completeopt?
|
||||||
},
|
},
|
||||||
|
experimental = {
|
||||||
|
ghost_text = true,
|
||||||
|
},
|
||||||
mapping = {
|
mapping = {
|
||||||
-- Key mappings based off of the standard autocomplete keybindings from VIM
|
-- Key mappings based off of the standard autocomplete keybindings from VIM
|
||||||
['<c-n>'] = cmp.mapping.select_next_item(),
|
['<c-n>'] = cmp.mapping.select_next_item(),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user