Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
olimorris committed Jun 29, 2024
1 parent 99808ba commit 52267d0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Currently supports: Anthropic, Ollama and OpenAI adapters
- :electric_plug: Support for OpenAI, Anthropic and Ollama
- :rocket: Inline code creation and refactoring
- :robot: Agents and Workflows to improve LLM output
- :sparkles: Built in prompts for LSP error fixes and code advice
- :sparkles: Built in prompts for LSP errors and code advice
- :building_construction: Create your own custom prompts for Neovim
- :floppy_disk: Save and restore your chats
- :muscle: Async execution for improved performance
Expand All @@ -41,7 +41,7 @@ Currently supports: Anthropic, Ollama and OpenAI adapters

<div align="center">
<p>https://github.com/olimorris/codecompanion.nvim/assets/9512444/3bd96f3e-6195-40f4-b427-99999a3fff99</p>
<p>https://github.com/olimorris/codecompanion.nvim/assets/9512444/4e7972d3-4c53-4fe7-8fb7-0dce174d94b5</p>
<p>https://github.com/olimorris/codecompanion.nvim/assets/9512444/24fec0ac-203f-4a4b-aafd-064d90ea71ae</p>
</div>

<!-- panvimdoc-ignore-end -->
Expand Down Expand Up @@ -214,9 +214,9 @@ require("codecompanion").setup({
},
},
},
["Fix LSP Diagnostics"] = {
["Explain LSP Diagnostics"] = {
strategy = "chat",
description = "Use an LLM to fix your LSP diagnostics",
description = "Use an LLM to explain any LSP diagnostics",
opts = {
index = 4,
default_prompt = true,
Expand Down Expand Up @@ -520,7 +520,7 @@ In the video, you'll notice that we're triggering a pre-defined prompt (from the

<!-- panvimdoc-ignore-start -->

<p><img src="https://github.com/olimorris/codecompanion.nvim/assets/9512444/654b8ce6-be61-42c8-b5e7-0437ea03ac8e" alt="Chat buffer"></p>
<p><img src="https://github.com/olimorris/codecompanion.nvim/assets/9512444/5349c177-2fb2-4c00-9c06-194767a9cf6e" alt="Chat buffer"></p>

<!-- panvimdoc-ignore-end -->

Expand Down Expand Up @@ -628,7 +628,7 @@ The plugin comes with a number of default prompts and corresponding keymaps/shor
- Senior Developer - Chat with a senior developer for the given filetype (`<LocalLeader>ce`)
- Generate a Commit Message - Use an LLM to write a commit message for you (`<LocalLeader>cm` / `@commit`)
- Code Advisor - Get advice from an LLM on code you've selected (`<LocalLeader>ca` / `@advisor`)
- Fix LSP Diagnostics - Use an LLM to fix LSP diagnostics for code you've selected (`<LocalLeader>cl` / `@lsp`)
- Explain LSP Diagnostics - Use an LLM to explain LSP diagnostics for code you've selected (`<LocalLeader>cl` / `@lsp`)

### Agents

Expand Down
10 changes: 5 additions & 5 deletions doc/codecompanion.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*codecompanion.txt* For NVIM v0.9.2 Last change: 2024 June 28
*codecompanion.txt* For NVIM v0.9.2 Last change: 2024 June 29

==============================================================================
Table of Contents *codecompanion-table-of-contents*
Expand All @@ -17,7 +17,7 @@ FEATURES *codecompanion-features*
- Support for OpenAI, Anthropic and Ollama
- Inline code creation and refactoring
- Agents and Workflows to improve LLM output
- Built in prompts for LSP error fixes and code advice
- Built in prompts for LSP errors and code advice
- Create your own custom prompts for Neovim
- Save and restore your chats
- Async execution for improved performance
Expand Down Expand Up @@ -193,9 +193,9 @@ Click to see the default configuration ~
},
},
},
["Fix LSP Diagnostics"] = {
["Explain LSP Diagnostics"] = {
strategy = "chat",
description = "Use an LLM to fix your LSP diagnostics",
description = "Use an LLM to explain any LSP diagnostics",
opts = {
index = 4,
default_prompt = true,
Expand Down Expand Up @@ -649,7 +649,7 @@ keymaps/shortcuts:
- Senior Developer - Chat with a senior developer for the given filetype (`<LocalLeader>ce`)
- Generate a Commit Message - Use an LLM to write a commit message for you (`<LocalLeader>cm` / `@commit`)
- Code Advisor - Get advice from an LLM on code you’ve selected (`<LocalLeader>ca` / `@advisor`)
- Fix LSP Diagnostics - Use an LLM to fix LSP diagnostics for code you’ve selected (`<LocalLeader>cl` / `@lsp`)
- Explain LSP Diagnostics - Use an LLM to explain LSP diagnostics for code you’ve selected (`<LocalLeader>cl` / `@lsp`)


AGENTS ~
Expand Down
4 changes: 2 additions & 2 deletions lua/codecompanion/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ return {
},
},
},
["Fix LSP Diagnostics"] = {
["Explain LSP Diagnostics"] = {
strategy = "chat",
description = "Use an LLM to fix your LSP diagnostics",
description = "Use an LLM to explain any LSP diagnostics",
opts = {
index = 4,
default_prompt = true,
Expand Down

0 comments on commit 52267d0

Please sign in to comment.