# editor: Truncate oversized LSP hover contents before display \(\#63022\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d6449a9e3fb408881d42e9d8a92280431aa7d57f

Requested commit: d6449a9e3fb408881d42e9d8a92280431aa7d57f

Commit: d6449a9e3fb408881d42e9d8a92280431aa7d57f

Tree: 3e1e0467c088f605d1eb2ad1689ca8d63aaf78f7

Author: Kirill Bulatov

Committer: GitHub

## Message

```
editor: Truncate oversized LSP hover contents before display (#63022)

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

Similar to VSCode, trims the hovers down to 100KB of text.

Release Notes:

- Fixed overly large LSP hovers causing performance issues
```

## Parents

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

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