# Automatically expand context for inline assistant to nearest block \(\#27282\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 90649fbc89784da151dd0a656ad112d78aa2f16a

Requested commit: 90649fbc89784da151dd0a656ad112d78aa2f16a

Commit: 90649fbc89784da151dd0a656ad112d78aa2f16a

Tree: 069cd318438df43482409b750a522438c195987d

Author: Conrad Irwin

Committer: GitHub

## Message

```
Automatically expand context for inline assistant to nearest block (#27282)

Release Notes:

- Inline assistant will now expand empty selections to the block under
the cursor.

Co-authored-by: andrew j <andjones100@gmail.com>
```

## Parents

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

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