diff options
Diffstat (limited to '')
-rw-r--r-- | .config/nvim/after/plugin/lsp.lua | 2 | ||||
-rw-r--r-- | .config/nvim/after/plugin/whichkey.lua | 1 |
2 files changed, 2 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' }, diff --git a/.config/nvim/after/plugin/whichkey.lua b/.config/nvim/after/plugin/whichkey.lua index de726b6..6473a66 100644 --- a/.config/nvim/after/plugin/whichkey.lua +++ b/.config/nvim/after/plugin/whichkey.lua @@ -1,6 +1,7 @@ local ma = require('harpoon.mark') local ui = require('harpoon.ui') local ts = require('telescope.builtin') +require('telescope').load_extension('harpoon') local wk = require('which-key') wk.register({ a = { |