We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
:
1 parent 742767e commit 70ccd4dCopy full SHA for 70ccd4d
1 file changed
lua/CopilotChat/init.lua
@@ -562,8 +562,8 @@ function M.ask(prompt, config)
562
local embeddings = {}
563
local function parse_context(prompt_context)
564
local split = vim.split(prompt_context, ':')
565
- local context_name = split[1]
566
- local context_input = split[2]
+ local context_name = table.remove(split, 1)
+ local context_input = table.concat(split, ':')
567
local context_value = config.contexts[context_name]
568
569
if context_value then
0 commit comments