From 63f94e141b15c02ce48a62143c956b1f3e456644 Mon Sep 17 00:00:00 2001 From: Agathe Porte <989521+gagath@users.noreply.github.com> Date: Thu, 19 Dec 2024 12:06:05 +0100 Subject: [PATCH] docs: add cmd for Lazy.nvim Lazy.nvim will by default not load a plugin until ultimately needed. One way to load the plugin is to enter the CodeCompanion* commands. Add the commands using `cmd` that will make the plugin load. --- README.md | 6 ++++++ doc/codecompanion.txt | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 460cf1f1..81552c53 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,12 @@ Install the plugin with your preferred package manager: "nvim-lua/plenary.nvim", "nvim-treesitter/nvim-treesitter", }, + cmd = { + "CodeCompanion", + "CodeCompanionChat", + "CodeCompanionActions", + "CodeCompanionCmd", + }, config = true } ``` diff --git a/doc/codecompanion.txt b/doc/codecompanion.txt index 61fcdac0..2a9c286e 100644 --- a/doc/codecompanion.txt +++ b/doc/codecompanion.txt @@ -1,4 +1,4 @@ -*codecompanion.txt* For NVIM v0.10.0 Last change: 2024 December 15 +*codecompanion.txt* For NVIM v0.10.0 Last change: 2024 December 19 ============================================================================== Table of Contents *codecompanion-table-of-contents* @@ -47,6 +47,12 @@ Install the plugin with your preferred package manager: "nvim-lua/plenary.nvim", "nvim-treesitter/nvim-treesitter", }, + cmd = { + "CodeCompanion", + "CodeCompanionChat", + "CodeCompanionActions", + "CodeCompanionCmd", + }, config = true } <