mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
a219505f7c
This setting was added to match rustfmt, but it's been taking effect on all file editing, which I notice most on git `COMMIT_EDITMSG`. I want to keep my default 72-width commit messages, please. :)
28 lines
478 B
INI
28 lines
478 B
INI
# EditorConfig helps developers define and maintain consistent
|
|
# coding styles between different editors and IDEs
|
|
# editorconfig.org
|
|
|
|
root = true
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[*.rs]
|
|
max_line_length = 100
|
|
|
|
[*.md]
|
|
# double whitespace at end of line
|
|
# denotes a line break in Markdown
|
|
trim_trailing_whitespace = false
|
|
|
|
[*.yml]
|
|
indent_size = 2
|
|
|
|
[Makefile]
|
|
indent_style = tab
|