CopilotC-Nvim / CopilotC-Nvim/CopilotChat.nvim
sensitive content exclusion not honored (option?)
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 3.7k
- Forks
- 171
- Avg merge
- 16h 26m
- Merged PRs (30d)
- 1
Description
We have setup content exclusion using pattern matching in the copilot subscription of our organisation for some repos as we have some sensitive files there. It seems that this plugin is not honoring that; if I select content from a sensitive file and do :CopilotChat then the content of such a file is being analysed.
As far as I understand, copilot plugins themselves need to do something on their part for this matter. I have tried with the official: https://github.com/github/copilot.vim. Code-completion does not work in an excluded file and there is a message:
Error: Your organization 'zhdk' has disabled Copilot for this file
Am I perhaps some config option for this plugin?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by selecting content from an excluded file and running :CopilotChat, then compare the behavior with github/copilot.vim, which reports that Copilot is disabled for the file. Inspect how this plugin obtains selected-file content; done means excluded content is not sent for analysis or the supported configuration is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, lua, neovim
- Domain
- ai, devtools, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100