# lsp: Fix overnotifying about open buffers for unrelated servers \(\#38196\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6d6c3d648a32f2b88073fe59a744ee7ba09e4c28

Requested commit: 6d6c3d648a32f2b88073fe59a744ee7ba09e4c28

Commit: 6d6c3d648a32f2b88073fe59a744ee7ba09e4c28

Tree: eae1bd4bac60cf92b4f08c4a6fbd558d847aa4a4

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
lsp: Fix overnotifying about open buffers for unrelated servers (#38196)

Do not report all open buffers to new instances of the same language
server, as they can respond with ~spurious errors.

This regressed in  https://github.com/zed-industries/zed/pull/34142

Closes https://github.com/zed-industries/zed/issues/35017

Release Notes:

- Fixed Zed overly notifying language servers about open buffers, which
could've resulted in confusing errors in multi-language projects (in
e.g. Go).
```

## Parents

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

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