# Fix bug with inline assist and indentation on empty lines \(\#13489\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 88000eb7e239be6c8ad33988ee52738e64185a9e

Requested commit: 88000eb7e239be6c8ad33988ee52738e64185a9e

Commit: 88000eb7e239be6c8ad33988ee52738e64185a9e

Tree: b3871c10eb1959eb2c836aeda1720c2ebe33b36c

Author: Tristan Hume

Committer: GitHub

## Message

```
Fix bug with inline assist and indentation on empty lines (#13489)

Fix a minor bug when the inline assistant model spits out an empty line
with leading indentation on it. This happens sometimes with Claude 3.5
Sonnet and currently it causes the following line to have the wrong
indentation.

Release Notes:

- N/A
```

## Parents

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

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