# Properly toggle diagnostics \(\#3243\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 254b3696246430c7a5ecebd9b2bbfae8d9a282d1

Requested commit: 254b3696246430c7a5ecebd9b2bbfae8d9a282d1

Commit: 254b3696246430c7a5ecebd9b2bbfae8d9a282d1

Tree: eb1da6c171d5b3ae5dc51a8565e84e3d117b4056

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Properly toggle diagnostics (#3243)

Follow-up of https://github.com/zed-industries/zed/pull/3236 that fixes
a bug introduced in that PR: diagnostics warning toggle stopped working.

Release Notes:

- N/A
```

## Parents

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

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

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