Files
oak-gpui/zed/languages/rust/config.toml
T
Max Brunsfeld 79878f20cc WIP - new approach to autoindent
- Indent one row at a time.
- Consider only the innermost match.
2021-05-27 15:05:19 -07:00

13 lines
310 B
TOML

name = "Rust"
path_suffixes = ["rs"]
indent = 4
idents = [
{ inside = "let_declaration" },
{ inside = "field_declaration" },
{ start = "where_clause", end = ["block", "field_declaration_list"] },
{ after = "{", before = "}" },
{ start = "(", end = ")" },
{ start = "[", end = "]" },
]