From 5c26894494c8e577e886831478720099e9a31958 Mon Sep 17 00:00:00 2001 From: Oli Morris Date: Sat, 17 Feb 2024 00:14:19 +0000 Subject: [PATCH] docs: update README.md --- README.md | 3 ++- doc/codecompanion.txt | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 051a9b6d..aa12870d 100644 --- a/README.md +++ b/README.md @@ -280,8 +280,9 @@ The plugin allows you to utilise the OpenAI APIs to create inline code in Neovim ``` :CodeCompanion create a table of 5 fruits +``` +``` :'<,'>CodeCompanion refactor the code to make it more concise -:'<,'>CodeCompanion can you fix this lsp warning? "unpack" is the culprit ``` The command can detect if you've made a visual selection and send any code as context to the API, alongside the filetype of the buffer. diff --git a/doc/codecompanion.txt b/doc/codecompanion.txt index 05d40c94..e64c264b 100644 --- a/doc/codecompanion.txt +++ b/doc/codecompanion.txt @@ -283,8 +283,10 @@ Neovim. Run the `:CodeCompanion` command followed by a prompt. For example: > :CodeCompanion create a table of 5 fruits +< + +> :'<,'>CodeCompanion refactor the code to make it more concise - :'<,'>CodeCompanion can you fix this lsp warning? "unpack" is the culprit < The command can detect if you’ve made a visual selection and send any code as