yaml: Add single quotes to list of brackets (#16859)

Closes #16854

Release Notes:

- Single quotes are now auto-closable in YAML files
This commit is contained in:
Thorsten Ball 2024-08-26 18:02:40 +02:00 committed by GitHub
parent 73bde398af
commit afe4d8c8cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,7 @@ brackets = [
{ start = "{", end = "}", close = true, newline = true },
{ start = "[", end = "]", close = true, newline = true },
{ start = "\"", end = "\"", close = true, newline = false, not_in = ["string"] },
{ start = "'", end = "'", close = true, newline = false, not_in = ["string"] },
]
auto_indent_using_last_non_empty_line = false