all repos

init.lua @ beb560e3a713a5e282b67e05177f9cd21165787d

my nvim config
1 files changed, 11 insertions(+), 14 deletions(-)
fix: register copilot source correctly
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-05-05 14:44:29 +0300
Parent: 1eca757
M lua/plugins/copilot.lua

@@ -58,23 +58,20 @@ },

}, }, { - "zbirenbaum/copilot-cmp", + "nvim-cmp", enabled = enabled, - config = true, dependencies = { "copilot.lua", - { - "nvim-cmp", - ---@module "cmp" - ---@param opts cmp.ConfigSchema - opts = function(_, opts) - table.insert(opts.sources, 1, { - name = "copilot", - group_index = 0, - max_item_count = 3, - }) - end, - }, + { "zbirenbaum/copilot-cmp", config = true }, }, + ---@module "cmp" + ---@param opts cmp.ConfigSchema + opts = function(_, opts) + table.insert(opts.sources, 1, { + name = "copilot", + group_index = 0, + max_item_count = 3, + }) + end, }, }