Update config/nvim/lua/plugins/lsp.lua
This commit is contained in:
parent
500b95842c
commit
2e21ca13c7
@ -39,7 +39,7 @@ cmp.setup({
|
|||||||
['<CR>'] = cmp.mapping.confirm({select = false}),
|
['<CR>'] = cmp.mapping.confirm({select = false}),
|
||||||
['<C-q>'] = cmp.mapping.abort(),
|
['<C-q>'] = cmp.mapping.abort(),
|
||||||
['<Up>'] = cmp.mapping.select_prev_item({behavior = 'select'}),
|
['<Up>'] = cmp.mapping.select_prev_item({behavior = 'select'}),
|
||||||
['<Down>'] = cmp.mapping.select_next_item({behavior = 'select'}),
|
['<TAB>'] = cmp.mapping.select_next_item({behavior = 'select'}),
|
||||||
['<C-p>'] = cmp.mapping(function()
|
['<C-p>'] = cmp.mapping(function()
|
||||||
if cmp.visible() then
|
if cmp.visible() then
|
||||||
cmp.select_prev_item({behavior = 'insert'})
|
cmp.select_prev_item({behavior = 'insert'})
|
||||||
|
Loading…
Reference in New Issue
Block a user