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.
c27d8e0c7aCole Miller committed on 9/17/2025, 1:58:24 AM· committed by GitHubparentf6c5c68
1 file changedLine totals unavailable