mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 00:24:52 +00:00
![Josh Stone](/assets/img/avatar_default.png)
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
|