From 71459105476cd3652de90fa0490cea044869c9ab Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 2 Dec 2024 07:09:45 +0000 Subject: [PATCH 1/2] chore(doc): auto generate docs --- doc/CopilotChat.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/CopilotChat.txt b/doc/CopilotChat.txt index 676b9c62..be4de4f7 100644 --- a/doc/CopilotChat.txt +++ b/doc/CopilotChat.txt @@ -1,4 +1,4 @@ -*CopilotChat.txt* For NVIM v0.8.0 Last change: 2024 December 01 +*CopilotChat.txt* For NVIM v0.8.0 Last change: 2024 December 02 ============================================================================== Table of Contents *CopilotChat-table-of-contents* @@ -57,7 +57,6 @@ LAZY.NVIM ~ return { { "CopilotC-Nvim/CopilotChat.nvim", - branch = "canary", dependencies = { { "github/copilot.vim" }, -- or zbirenbaum/copilot.lua { "nvim-lua/plenary.nvim" }, -- for curl, log wrapper @@ -83,7 +82,7 @@ Similar to the lazy setup, you can use the following configuration: call plug#begin() Plug 'github/copilot.vim' Plug 'nvim-lua/plenary.nvim' - Plug 'CopilotC-Nvim/CopilotChat.nvim', { 'branch': 'canary' } + Plug 'CopilotC-Nvim/CopilotChat.nvim', { 'branch': 'main' } call plug#end() lua << EOF @@ -105,7 +104,7 @@ MANUAL ~ git clone https://github.com/github/copilot.vim git clone https://github.com/nvim-lua/plenary.nvim - git clone -b canary https://github.com/CopilotC-Nvim/CopilotChat.nvim + git clone -b main https://github.com/CopilotC-Nvim/CopilotChat.nvim < 1. Add to your configuration (e.g. `~/.config/nvim/init.lua`) From 451d365928a994cda3505a84905303f790e28df8 Mon Sep 17 00:00:00 2001 From: Tomas Slusny Date: Mon, 2 Dec 2024 09:32:36 +0100 Subject: [PATCH 2/2] Add deprecation notice to canary branch Signed-off-by: Tomas Slusny --- lua/CopilotChat/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/CopilotChat/init.lua b/lua/CopilotChat/init.lua index 7f0e4902..8017bbd1 100644 --- a/lua/CopilotChat/init.lua +++ b/lua/CopilotChat/init.lua @@ -875,6 +875,8 @@ end --- Set up the plugin ---@param config CopilotChat.config? function M.setup(config) + utils.deprecate("'canary' branch", "'main' branch") + -- Handle changed configuration if config then if config.mappings then