lsp: Show error message in read only buffer (#19063)
Bennet Bo Fenner
and
Thorsten
created
Clicking on
<img width="361" alt="image"
src="https://github.com/user-attachments/assets/b55e2575-b438-4c26-922f-313dc1f41fea">
now opens a read only buffer
<img width="547" alt="image"
src="https://github.com/user-attachments/assets/af82e104-1603-4fe4-9351-635a02cfb4f9">
Previously the buffer would show up as a normal untitled buffer and
would open a prompt when closing the tab.
Co-Authored-by: Thorsten <thorsten@zed.dev>
Release Notes:
- N/A
Co-authored-by: Thorsten <thorsten@zed.dev>