Skip to content

Commit 0b4583b

Browse files
committed
Don't initialize copilot_cmp in cmp.lua
1 parent 6354c3f commit 0b4583b

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

lib/nvim/lua/plugin_config/cmp.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ cmp.setup({
6767

6868
require('cmp_git').setup()
6969

70-
if llms_enabled then
71-
require("copilot_cmp").setup()
72-
end
7370

7471
-- Add these highlight groups to your colorscheme setup or after/colors
7572
vim.api.nvim_set_hl(0, 'CmpPmenu', { bg = '#e8e8e8' }) -- Light gray background

lib/nvim/lua/plugin_config/llms.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ if not require('helpers').is_git_subprocess() then
99
panel = { enabled = false },
1010
copilot_model = "gpt-4o-copilot",
1111
})
12+
require("copilot_cmp").setup()
1213

1314
local map = function(keys, func, desc, mode)
1415
mode = mode or 'n'

0 commit comments

Comments
 (0)