# editor: Fix "Toggle comments" not respecting multiple line_comments in language config \(\#10126\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b118b762728bf802d9b4e9f89c0502de43f246dc

Requested commit: b118b762728bf802d9b4e9f89c0502de43f246dc

Commit: b118b762728bf802d9b4e9f89c0502de43f246dc

Tree: bdaaa1f8bf7833e879c07f6316523a278ea4b15d

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
editor: Fix "Toggle comments" not respecting multiple line_comments in language config (#10126)

This does not try to heuristically pick a comment style based on
surroundings anyhow. It does improve our story around uncommenting
though.

Fixes #10113.

Release Notes:

- Fixed "Toggle comment" action not working in presence of non-default
line comments such as doc comments in Rust
([#10113](https://github.com/zed-industries/zed/issues/10113)).
```

## Parents

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

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