Closes #13376 Closes #13338 Release Notes: - Fixed unhelpful auto-indent suggestions in markdown. - Added `auto_indent_on_paste` setting, which can be used on a per-language basis, to configure whether indentation should be adjusted when pasting. This setting is enabled by default for languages other than YAML and Markdown.
18 lines
583 B
TOML
18 lines
583 B
TOML
name = "YAML"
|
|
grammar = "yaml"
|
|
path_suffixes = ["yml", "yaml"]
|
|
line_comments = ["# "]
|
|
autoclose_before = ",]}"
|
|
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_on_paste = false
|
|
auto_indent_using_last_non_empty_line = false
|
|
increase_indent_pattern = ":\\s*[|>]?\\s*$"
|
|
prettier_parser_name = "yaml"
|
|
tab_size = 2
|