editor: Don't pull diagnostics on excerpts change in diagnostics editors (#38212)
Cole Miller
created
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.