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:
parent
d04800c329
commit
de3702bedc
2 changed files with 11 additions and 6 deletions
|
@ -776,7 +776,7 @@
|
||||||
"load_direnv": "direct",
|
"load_direnv": "direct",
|
||||||
"inline_completions": {
|
"inline_completions": {
|
||||||
// A list of globs representing files that inline completions should be disabled for.
|
// A list of globs representing files that inline completions should be disabled for.
|
||||||
"disabled_globs": [".env"]
|
"disabled_globs": ["**/.env*", "**/*.pem", "**/*.key", "**/*.cert", "**/*.crt", "**/secrets.yml"]
|
||||||
},
|
},
|
||||||
// Settings specific to journaling
|
// Settings specific to journaling
|
||||||
"journal": {
|
"journal": {
|
||||||
|
|
|
@ -384,7 +384,12 @@ There are two options to choose from:
|
||||||
```json
|
```json
|
||||||
"inline_completions": {
|
"inline_completions": {
|
||||||
"disabled_globs": [
|
"disabled_globs": [
|
||||||
".env"
|
"**/.env*",
|
||||||
|
"**/*.pem",
|
||||||
|
"**/*.key",
|
||||||
|
"**/*.cert",
|
||||||
|
"**/*.crt",
|
||||||
|
"**/secrets.yml"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue