mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
YAML: set auto_indent_using_last_non_empty_line to false (fix wonky formatting) (#13351)
This makes us treat yaml like other indentation-sensitive languages (e.g. Python) and not reformat it on pasting and what not. Fixes #12236 Fixes #13338 Release Notes: - Fixed spurious appliance of auto-formatting to YAML blocks.
This commit is contained in:
parent
44c479c50c
commit
4dd05a80e0
@ -9,6 +9,7 @@ brackets = [
|
||||
{ start = "\"", end = "\"", close = true, newline = false, not_in = ["string"] },
|
||||
]
|
||||
|
||||
auto_indent_using_last_non_empty_line = false
|
||||
increase_indent_pattern = ":\\s*[|>]?\\s*$"
|
||||
prettier_parser_name = "yaml"
|
||||
tab_size = 2
|
||||
|
Loading…
Reference in New Issue
Block a user