# editor: Trim indent guides at last non-empty line \(\#29482\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6592314984e5891c90a109fe39e0faafe03512ab

Requested commit: 6592314984e5891c90a109fe39e0faafe03512ab

Commit: 6592314984e5891c90a109fe39e0faafe03512ab

Tree: 122b52cd63a4c0d445e75c2807a5dd81f66856a7

Author: Ron Harel

Committer: GitHub

## Message

```
editor: Trim indent guides at last non-empty line (#29482)

Closes #26274

Adjust the end position of indent guides to prevent them from extending
through empty space.
Also corrected old test values ​​that seemed to have adapted to the
indentation's behavior.

Release Notes:

- Fixed indentation guides extending beyond the final scope in a file.
```

## Parents

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

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