# YAML: set auto_indent_using_last_non_empty_line to false \(fix wonky formatting\) \(\#13351\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4dd05a80e0b140d5c3f7f619966a4e5238e5d422

Requested commit: 4dd05a80e0b140d5c3f7f619966a4e5238e5d422

Commit: 4dd05a80e0b140d5c3f7f619966a4e5238e5d422

Tree: 47299e064ceed85a660a0b83bccda0d4e1a1b2e1

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
YAML: set auto_indent_using_last_non_empty_line to false (fix wonky formatting) (#13351)

This makes us treat yaml like other indentation-sensitive languages
(e.g. Python) and not reformat it on pasting and what not.

Fixes #12236
Fixes #13338

Release Notes:

- Fixed spurious appliance of auto-formatting to YAML blocks.
```

## Parents

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

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