# project: Sanitize single-line completions from trailing newlines \(\#44965\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6d776c3157a33b947406215e298997b7ea159a1a

Requested commit: 6d776c3157a33b947406215e298997b7ea159a1a

Commit: 6d776c3157a33b947406215e298997b7ea159a1a

Tree: 45077f1eee2524b3f7702b86e1a44bbdc32d0035

Author: prayansh_chhablani

Committer: GitHub

## Message

```
project: Sanitize single-line completions from trailing newlines (#44965)

Closes #43991
trim documentation string to prevent completion overlap


previous
[Screencast from 2025-12-16
14-55-58.webm](https://github.com/user-attachments/assets/d7674d82-63b0-4a85-a90f-b5c5091e4a82)
after change
[Screencast from 2025-12-16
14-50-05.webm](https://github.com/user-attachments/assets/109c22b5-3fff-49c8-a2ec-b1af467d6320)
Release Notes:

- Fixed an issue where completions in the completion menu would span
multiple lines.
```

## Parents

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

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