From 499f5e6e14f5986fa9f2315a084fb7a5c3597f46 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 29 Sep 2023 11:07:25 +0200 Subject: up --- .config/nvim/after/plugin/lsp.lua | 2 +- .config/nvim/after/plugin/whichkey.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to '.config') 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({ - [''] = cmp.mapping.select_next_item(cmp_select), [''] = cmp.mapping.select_next_item(cmp_select), [''] = cmp.mapping.select_prev_item(cmp_select), [''] = cmp.mapping.scroll_docs(-4), @@ -54,6 +53,7 @@ cmp.setup({ [''] = cmp.mapping.complete(), [''] = cmp.mapping.abort(), [''] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. + [''] = 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 = { -- cgit v1.2.3