# Add wrap guides \(\#2767\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 76188c95088811809fac48cd1c45e3be4fe30569

Requested commit: 76188c95088811809fac48cd1c45e3be4fe30569

Commit: 76188c95088811809fac48cd1c45e3be4fe30569

Tree: eeab1d0f2d017eea3b642fc4e5f761786b23bf01

Author: Mikayla Maki

Committer: GitHub

## Message

```
Add wrap guides (#2767)

fixes https://github.com/zed-industries/community/issues/48

Release notes
- Added wrap guides and two associated language settings:
`"show_wrap_guides": bool` and `"wrap_guides": [..]`. The first controls
whether wrap guides are shown when `"soft_wrap":
"preferred_line_length"` is enabled and the second allows Zed to show
additional wrap guides at whichever column index you prefer.

Here's a screenshot of Zed with wrap guides at 60 and 90, and soft wrap
active with a preferred_line_length of 80:

<img width="956" alt="Screenshot 2023-07-20 at 4 42 11 PM"
src="https://github.com/zed-industries/zed/assets/2280405/48f36be1-3bdc-48eb-bfca-e61fcfd6dbc2">
```

## Parents

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

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

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