config.toml

 1name = "YAML"
 2grammar = "yaml"
 3path_suffixes = ["yml", "yaml", "pixi.lock"]
 4line_comments = ["# "]
 5autoclose_before = ",]}"
 6brackets = [
 7    { start = "{", end = "}", close = true, newline = true },
 8    { start = "[", end = "]", close = true, newline = true },
 9    { start = "\"", end = "\"", close = true, newline = false, not_in = ["string"] },
10    { start = "'", end = "'", close = true, newline = false, not_in = ["string"] },
11]
12
13auto_indent_on_paste = false
14auto_indent_using_last_non_empty_line = false
15# 1st block to match basic elements followed by ':' like 'test: ' for example
16# 2nd block to match for first element in an array if it's an object
17# For example:
18# ```yaml
19# test:
20#   - first: one
21# ```
22increase_indent_pattern = "(:?^[^#]*:\\s*[|>]?\\s*$)|(:?^\\s*-[^#]*:\\s*(:?#+.*)$)"
23prettier_parser_name = "yaml"
24tab_size = 2