Skip to content

Commit a78ce20

Browse files
committed
fix(nvim): revert to the old name for backward-compat
1 parent 9a83270 commit a78ce20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/vectorcode/integrations/copilotchat.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ end, 4)
4242

4343
---@param opts VectorCode.CopilotChat.ContextOpts?
4444
---@return CopilotChat.config.context
45-
local make_context = check_cli_wrap(function(opts)
45+
local make_context_provider = check_cli_wrap(function(opts)
4646
opts = vim.tbl_deep_extend("force", {
4747
max_num = 5,
4848
use_lsp = vc_config.get_user_config().async_backend == "lsp",
@@ -101,5 +101,5 @@ local make_context = check_cli_wrap(function(opts)
101101
end)
102102

103103
return {
104-
make_context = make_context,
104+
make_context_provider = make_context_provider,
105105
}

0 commit comments

Comments
 (0)