config.toml

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