Improve inline_completions.disabled_globs in default.json (#24051)

Make sure that inline completions (Copilot, etc) are disabled for more secret globs (matches `private_files`)
This commit is contained in:
Peter Tripp 2025-01-31 16:57:54 -05:00 committed by GitHub
parent d04800c329
commit de3702bedc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 6 deletions

View file

@ -382,11 +382,16 @@ There are two options to choose from:
- Default:
```json
"inline_completions": {
"disabled_globs": [
".env"
]
}
"inline_completions": {
"disabled_globs": [
"**/.env*",
"**/*.pem",
"**/*.key",
"**/*.cert",
"**/*.crt",
"**/secrets.yml"
]
}
```
**Options**