# Improve context expansion \(\#10957\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a9e3d4ec4e9004a65ba00dde4159b40db44b1445

Requested commit: a9e3d4ec4e9004a65ba00dde4159b40db44b1445

Commit: a9e3d4ec4e9004a65ba00dde4159b40db44b1445

Tree: 4b470f1f13462514819c2908616ff6e1cac8cba6

Author: Mikayla Maki

Committer: GitHub

## Message

```
Improve context expansion (#10957)

Release Notes:

- Improved expand excerpt indicators to allow unidirectional expansion.
Also added the `editor::ExpandExcerptsUp` and
`editor::ExpandExcerptsDown` actions, which can both take a `lines`
parameter. Also added a `expand_excerpt_lines` setting which controls
the default number of lines that the indicators and actions use.

---------

Co-authored-by: conrad <conrad@zed.dev>
```

## Parents

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

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