# language: Accept multiple values in line_comment language knob\. \(\#6713\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e9edad1d51c6c575348662be8405e79935900802

Requested commit: e9edad1d51c6c575348662be8405e79935900802

Commit: e9edad1d51c6c575348662be8405e79935900802

Tree: 0386c6a66e3f4b64658d87b18409872d0cad4870

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
language: Accept multiple values in line_comment language knob. (#6713)

This opens up a possibility of supporting multiple comment continuation
flavours in editor, e.g. doc comments for Rust (which we seize as well
in this commit). Only the first `line_comment` value is used for
Editor::ToggleComments

Fixes: https://github.com/zed-industries/zed/issues/6692

Release Notes:
- Added support for doc-comment continuations in Rust language.
```

## Parents

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

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