Language settings for copilot answers#51
Merged
jellydn merged 3 commits intoCopilotC-Nvim:mainfrom Feb 17, 2024
neutrinoA4:dev_language
Merged
Language settings for copilot answers#51jellydn merged 3 commits intoCopilotC-Nvim:mainfrom neutrinoA4:dev_language
jellydn merged 3 commits intoCopilotC-Nvim:mainfrom
neutrinoA4:dev_language
Conversation
jellydn
reviewed
Feb 17, 2024
| vim.g.copilot_chat_disable_separators = options and options.disable_extra_info or 'yes' | ||
| vim.g.copilot_chat_hide_system_prompt = options and options.hide_system_prompt or 'yes' | ||
| vim.g.copilot_chat_proxy = options and options.proxy or '' | ||
| vim.g.copilot_chat_language = options and options.language or '' |
Contributor
There was a problem hiding this comment.
Could you add to the document to README and before setup function? Thanks @neutrinoA4
jellydn
reviewed
Feb 17, 2024
jellydn
reviewed
Feb 17, 2024
Contributor
jellydn
left a comment
There was a problem hiding this comment.
Nice work @neutrinoA4 👏 Could you help to address my comments on your PR? Thanks.
Contributor
Author
|
@jellydn |
jellydn
approved these changes
Feb 17, 2024
Contributor
jellydn
left a comment
There was a problem hiding this comment.
LGTM! Thanks @neutrinoA4
Let's wait for @gptlang input on this.
Co-authored-by: Dung Duc Huynh (Kaka) <870029+jellydn@users.noreply.github.com>
cjoke
pushed a commit
to cjoke/CopilotChat.nvim
that referenced
this pull request
Feb 18, 2024
* feat: add CopilotChatDebugInfo command chore: add remote plugin path to util * docs: add debug command to receipts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi! I added the ability to set the language of Copilot answers.
If you originally create a prompt in the language you want the answer to be in "opts.prompts", the answer will be created in the corresponding language.
However, it is difficult to configure with "CopilotChatFixDiagnostic", so I added this setting item.
It works by adding language to opts in the settings.
If nothing is set, you will receive answers in English as before.
If it is not unnecessary, please consider merging it.