Expand tilde paths in edit prediction settings (#31235)

Release Notes:

- edit_prediction: Handle `~` in paths in `disabled_globs` setting
This commit is contained in:
clauses3 2025-06-03 08:32:23 +00:00 committed by GitHub
parent 657c8b1084
commit b798392050
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 29 additions and 5 deletions

View file

@ -231,6 +231,18 @@ To not have predictions appear automatically as you type when working with a spe
}
```
### In Specific Directories
To disable edit predictions for specific directories or files, set this within `settings.json`:
```json
{
"edit_predictions": {
"disabled_globs": ["~/.config/zed/settings.json"]
}
}
```
### Turning Off Completely
To completely turn off edit prediction across all providers, explicitly set the settings to `none`, like so: