# editor: Add astrick on new line in multiline comment for Go, Rust, C, and C\+\+ \(\#30808\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 16f668b8e3602e4b8642e102c9fed0b577583662

Requested commit: 16f668b8e3602e4b8642e102c9fed0b577583662

Commit: 16f668b8e3602e4b8642e102c9fed0b577583662

Tree: 2a40dd370d3bcefdbf042f89e791ee943312f331

Author: Smit Barmase

Committer: GitHub

## Message

```
editor: Add astrick on new line in multiline comment for Go, Rust, C, and C++ (#30808)

Add asterisk on new line in multiline comments for Go, Rust, C, and C++.
While `*` is entirely for style. There's no actual need for it. It can
be disabled from setting. More:
https://doc.rust-lang.org/rust-by-example/hello/comment.html

<img width="491" alt="image"
src="https://github.com/user-attachments/assets/385b1eb5-be81-446c-b7cf-34165d6b384a"
/>

Release Notes:

- Added automatic asterisk insertion for new lines in multiline comments
for Go, Rust, C, and C++. This can be disable by setting
`extend_comment_on_newline` to `false`.
```

## Parents

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

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