Skip to content

Commit

Permalink
Provide auth instructions for both cp.vim/lua.
Browse files Browse the repository at this point in the history
close #392
  • Loading branch information
gptlang authored Aug 17, 2024
1 parent bddda2a commit 320b853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/CopilotChat/copilot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ end)
function Copilot:with_auth(on_done, on_error)
if not self.github_token then
local msg =
'No GitHub token found, please use `:Copilot setup` to set it up from copilot.vim or copilot.lua'
'No GitHub token found, please use `:Copilot auth` to set it up from copilot.lua or `:Copilot setup` for copilot.vim'
log.error(msg)
if on_error then
on_error(msg)
Expand Down

0 comments on commit 320b853

Please sign in to comment.