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