# Fix yaml comment indent \(\#33882\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 03ca2f4d2be45e44f663540bb927646268aff9b4

Requested commit: 03ca2f4d2be45e44f663540bb927646268aff9b4

Commit: 03ca2f4d2be45e44f663540bb927646268aff9b4

Tree: 2972adbcf336733b8c2127b79dcb324d21e6eb6b

Author: Richard Feldman

Committer: GitHub

## Message

```
Fix yaml comment indent (#33882)

Closes #33761

The problem was that in the indentation regex we were treating lines
that had `:` in them as requiring an indent on the next line, even if
that `:` was inside a comment.

Release Notes:

- Fixed YAML indentation for lines containing comments with `:` in them
```

## Parents

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

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