We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7afef52 commit 1c11d05Copy full SHA for 1c11d05
lua/copilot/suggestion/init.lua
@@ -52,12 +52,13 @@ end
52
local function get_ctx(bufnr)
53
bufnr = bufnr or vim.api.nvim_get_current_buf()
54
local ctx = copilot.context[bufnr]
55
- logger.trace("suggestion context", ctx)
+
56
if not ctx then
57
ctx = {}
58
copilot.context[bufnr] = ctx
59
- logger.trace("suggestion new context", ctx)
+ logger.trace("suggestion new context")
60
end
61
62
return ctx
63
64
@@ -526,7 +527,7 @@ end
526
527
---@return boolean
528
function M.first_request_scheduled(ctx, caller_context)
529
if not ctx.first then
- logger.trace("suggestion " .. caller_context .. ", no first request", ctx)
530
+ logger.trace("suggestion " .. caller_context .. ", no first request")
531
request_suggestion(caller_context)
532
return true
533
0 commit comments