# edit predictions: Invalidate cached settings and unset provider when set to \`none\` \(\#25505\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/3f168e85c2d90997a60d7a9874ba04eec1d85a3c)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 3f168e85c2d90997a60d7a9874ba04eec1d85a3c

Requested commit: 3f168e85c2d90997a60d7a9874ba04eec1d85a3c

Commit: 3f168e85c2d90997a60d7a9874ba04eec1d85a3c

Tree: 795bf5a24cf523c5e7df7fd820918af9f7ace574

Author: Agus Zubiaga

Committer: GitHub

## Message

```
edit predictions: Invalidate cached settings and unset provider when set to `none` (#25505)

Fixes a few state mismatches when changing providers and other settings

Release Notes:

- edit predictions: Fix mismatch between status bar settings and editor
control settings
- edit predictions: Turn off as soon as `edit_prediction_provider` is
set to `none`

---------

Co-authored-by: Danilo <danilo@zed.dev>
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
```

## Parents

- [20440f83e9792791c63da552489160ad09f7d35f](https://git.cafe/gitcafe/zed/commit/20440f83e9792791c63da552489160ad09f7d35f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/3f168e85c2d90997a60d7a9874ba04eec1d85a3c?format=markdown)
