Skip to content

Commit 43ac941

Browse files
committed
Auto merge of rust-lang#5031 - JohnTitor:editorconfig, r=phansch
Prefer 2 spaces as indent size over 4 on yaml We use 2 spaces as an indent on YAML like `.travis.yml` now but `.editorconfig` tells my editor that indent size is 4, not 2. It makes my editor confused. changelog: none
2 parents ab5de38 + 9a008e2 commit 43ac941

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ indent_size = 4
1414

1515
[*.md]
1616
trim_trailing_whitespace = false
17+
18+
[*.yml]
19+
indent_size = 2

0 commit comments

Comments
 (0)