# Improve LSP button error message \(\#46377\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9f8dd4c163125e5b79fb622ff4639dd01aaefdf4

Requested commit: 9f8dd4c163125e5b79fb622ff4639dd01aaefdf4

Commit: 9f8dd4c163125e5b79fb622ff4639dd01aaefdf4

Tree: 92ccb82b81e243fbd6ab00223f8c12dec32dff44

Author: Ben Kunkle

Committer: GitHub

## Message

```
Improve LSP button error message (#46377)

Greatly increases max width of the message we show, but truncates the
message to only ever show the first line

| LSP | OLD | NEW |
|-|-|-|
| JSON | <img width="720" height="199" alt="image"
src="https://github.com/user-attachments/assets/77c2299a-0fd7-4210-9e50-b99c60b07f54"
/> | <img width="1219" height="205" alt="Screenshot 2026-01-08 at 11 13
07 AM"
src="https://github.com/user-attachments/assets/dfdb53a6-56e4-483a-8abc-25d99f0a5ae6"
/> |
| PS1 | <img width="743" height="205" alt="image"
src="https://github.com/user-attachments/assets/378d5d41-a005-4205-b3fc-956e227321c5"
/> | <img width="1219" height="205" alt="Screenshot 2026-01-08 at 11 19
13 AM"
src="https://github.com/user-attachments/assets/b8d05fb1-20f8-4983-be94-cb5735d84faf"
/> |


Release Notes:

- N/A
```

## Parents

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

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