# editor: Fix issue where newline on \`\*\` as prefix adds comment delimiter \(\#31271\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 03ac3fb91af89f0e738a9cd0aa4bcb22b7bbabbc

Requested commit: 03ac3fb91af89f0e738a9cd0aa4bcb22b7bbabbc

Commit: 03ac3fb91af89f0e738a9cd0aa4bcb22b7bbabbc

Tree: d7c8ff96aa7432004f9528967f0aa7489aaeaddd

Author: smit

Committer: GitHub

## Message

```
editor: Fix issue where newline on `*` as prefix adds comment delimiter (#31271)

Release Notes:

- Fixed issue where pressing Enter on a line starting with * incorrectly
added comment delimiter.

---------

Co-authored-by: Piotr Osiewicz <peterosiewicz@gmail.com>
Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
```

## Parents

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

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