# editor: Don't pull diagnostics on excerpts change in diagnostics editors \(\#38212\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c27d8e0c7a66cfc2ad32d7bd17267e5d85d74956

Requested commit: c27d8e0c7a66cfc2ad32d7bd17267e5d85d74956

Commit: c27d8e0c7a66cfc2ad32d7bd17267e5d85d74956

Tree: 2b460391555ce78097ed1d3afada36b753742758

Author: Cole Miller

Committer: GitHub

## Message

```
editor: Don't pull diagnostics on excerpts change in diagnostics editors (#38212)

This can lead to an infinite regress when using a language server that
supports pull diagnostics, since the excerpts for the diagnostics editor
are set based on the project's diagnostics.

Closes #36772

Release Notes:

- Fixed a bug that could cause duplicated diagnostics with some language
servers.
```

## Parents

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

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