diff options
Diffstat (limited to '.config/nvim/after/plugin/lsp.lua')
-rw-r--r-- | .config/nvim/after/plugin/lsp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/after/plugin/lsp.lua b/.config/nvim/after/plugin/lsp.lua index 1056274..11801f8 100644 --- a/.config/nvim/after/plugin/lsp.lua +++ b/.config/nvim/after/plugin/lsp.lua @@ -46,7 +46,6 @@ cmp.setup({ -- documentation = cmp.config.window.bordered(), }, mapping = cmp.mapping.preset.insert({ - ['<C-i>'] = cmp.mapping.select_next_item(cmp_select), ['<C-j>'] = cmp.mapping.select_next_item(cmp_select), ['<C-k>'] = cmp.mapping.select_prev_item(cmp_select), ['<C-b>'] = cmp.mapping.scroll_docs(-4), @@ -54,6 +53,7 @@ cmp.setup({ ['<C-Space>'] = cmp.mapping.complete(), ['<C-e>'] = cmp.mapping.abort(), ['<CR>'] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. + ['<C-i>'] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. }), sources = cmp.config.sources({ { name = 'nvim_lsp' }, |