diff options
author | Joe <rrbo@proton.me> | 2023-09-29 11:07:25 +0200 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-09-29 11:07:25 +0200 |
commit | 499f5e6e14f5986fa9f2315a084fb7a5c3597f46 (patch) | |
tree | 4d7086562a0a60baf0e5aa98755cd30807681840 /.config/nvim/after | |
parent | good complete (diff) | |
download | dotfiles-bsd-499f5e6e14f5986fa9f2315a084fb7a5c3597f46.tar.gz dotfiles-bsd-499f5e6e14f5986fa9f2315a084fb7a5c3597f46.tar.bz2 dotfiles-bsd-499f5e6e14f5986fa9f2315a084fb7a5c3597f46.tar.xz dotfiles-bsd-499f5e6e14f5986fa9f2315a084fb7a5c3597f46.tar.zst dotfiles-bsd-499f5e6e14f5986fa9f2315a084fb7a5c3597f46.zip |
up
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 = { |