diff options
| -rw-r--r-- | lsp/copilot.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lsp/copilot.lua b/lsp/copilot.lua index 1184770b..5f216d53 100644 --- a/lsp/copilot.lua +++ b/lsp/copilot.lua @@ -32,7 +32,7 @@ local function sign_in(bufnr, client) vim.fn.setreg('+', code) vim.fn.setreg('*', code) local continue = vim.fn.confirm( - 'Copyied your one-time code to clipboard.\n' .. 'Open the browser to complete the sign-in process?', + 'Copied your one-time code to clipboard.\n' .. 'Open the browser to complete the sign-in process?', '&Yes\n&No' ) if continue == 1 then @@ -49,7 +49,7 @@ local function sign_in(bufnr, client) end if result.status == 'PromptUserDeviceFlow' then - vim.notify('Enter your one-time code ' .. result.code .. ' in ' .. result.verificationUri) + vim.notify('Enter your one-time code ' .. result.userCode .. ' in ' .. result.verificationUri) elseif result.status == 'AlreadySignedIn' then vim.notify('Already signed in as ' .. result.user .. '.') end |
