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
This commit is contained in:
Richard Feldman
2025-07-03 23:57:57 +00:00
committed by GitHub
parent 91bfe6f968
commit 03ca2f4d2b
4 changed files with 67 additions and 1 deletions
Generated
+1
View File
@@ -4830,6 +4830,7 @@ dependencies = [
"tree-sitter-python",
"tree-sitter-rust",
"tree-sitter-typescript",
"tree-sitter-yaml",
"ui",
"unicode-script",
"unicode-segmentation",