You've already forked dotfiles
Adding ghost text preview to completions.
This commit is contained in:
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(),
|
||||
|
||||
Reference in New Issue
Block a user