diff --git a/lua/plugins/copilot.lua b/lua/plugins/copilot.lua index 22b3a21..4a371e5 100644 --- a/lua/plugins/copilot.lua +++ b/lua/plugins/copilot.lua @@ -1,4 +1,4 @@ require('copilot').setup({ - suggestion = { enabled = true }, - panel = { enabled = true }, + suggestion = { enabled = false }, + panel = { enabled = false }, }); diff --git a/lua/plugins/nvim-cmp.lua b/lua/plugins/nvim-cmp.lua index 4638800..b0214b0 100644 --- a/lua/plugins/nvim-cmp.lua +++ b/lua/plugins/nvim-cmp.lua @@ -27,7 +27,7 @@ cmp.setup({ [''] = cmp.mapping.scroll_docs(4), [''] = cmp.mapping.complete(), [''] = cmp.mapping.abort(), - [''] = cmp.mapping.confirm({ select = true, behavior = cmp.ConfirmBehavior.Replace }), -- 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. [""] = cmp.mapping(function(fallback) if cmp.visible() and has_words_before() then cmp.select_next_item({ behavior = cmp.SelectBehavior.Select })