# editor: Render boundary whitespace \(\#11954\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0289c312c9282a128824bd28d243941c3edf27bf

Requested commit: 0289c312c9282a128824bd28d243941c3edf27bf

Commit: 0289c312c9282a128824bd28d243941c3edf27bf

Tree: ab265737fa302b694479a037ac6457c2b97f2c30

Author: Nicholas Cioli

Committer: GitHub

## Message

```
editor: Render boundary whitespace (#11954)

![image](https://github.com/zed-industries/zed/assets/1240491/3dd06e45-ae8e-49d5-984d-3d8bdf98d983)

Added support for only rendering whitespace that is on a
boundary, the logic of which is explained below:

- Any tab character
- Whitespace at the start and end of a line
- Whitespace that is directly adjacent to another whitespace


Release Notes:

- Added `boundary` whitespace rendering option
([#4290](https://github.com/zed-industries/zed/issues/4290)).




---------

Co-authored-by: Nicholas Cioli <nicholascioli@users.noreply.github.com>
```

## Parents

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

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