# editor: Strip trailing newlines from completion documentation \(\#45342\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 596826f74113d0db2d2f6794ca1c7d2275da5b96

Requested commit: 596826f74113d0db2d2f6794ca1c7d2275da5b96

Commit: 596826f74113d0db2d2f6794ca1c7d2275da5b96

Tree: d0862bcdf066ab7df7a6af732f9242f46c6dc2d3

Author: Mayank Verma

Committer: GitHub

## Message

```
editor: Strip trailing newlines from completion documentation (#45342)

Closes #45337

Release Notes:

- Fixed broken completion menu layout caused by trailing newlines in ty
documentation

<table>
  <tr>
    <td>Before</td>
    <td>After</td>
  </tr>
  <tr>
    <td>
<img width="756" height="875" alt="before"
src="https://github.com/user-attachments/assets/1d9da7d8-437a-4f03-8158-32ff1af9a428"
/>
    </td>
    <td>  
<img width="755" height="875" alt="after"
src="https://github.com/user-attachments/assets/dca31af3-e571-445a-b4a9-c300bb4c63fa"
/>
    </td>
  </tr>
</table>
```

## Parents

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

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