From 320b853c25c781dc572e4c19d0df25ea38b2e480 Mon Sep 17 00:00:00 2001 From: gptlang <121417512+gptlang@users.noreply.github.com> Date: Sat, 17 Aug 2024 13:59:07 +0000 Subject: [PATCH] Provide auth instructions for both cp.vim/lua. close #392 --- lua/CopilotChat/copilot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/CopilotChat/copilot.lua b/lua/CopilotChat/copilot.lua index eebf1314..61301142 100644 --- a/lua/CopilotChat/copilot.lua +++ b/lua/CopilotChat/copilot.lua @@ -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)