Skip to content

Commit

Permalink
docs: add cmd for Lazy.nvim
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gagath committed Dec 19, 2024
1 parent b7fdcbd commit 63f94e1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
```
Expand Down
8 changes: 7 additions & 1 deletion doc/codecompanion.txt
Original file line number Diff line number Diff line change
@@ -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*
Expand Down Expand Up @@ -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
}
<
Expand Down

0 comments on commit 63f94e1

Please sign in to comment.