Skip to content

Commit 0745d28

Browse files
authored
Rollup merge of rust-lang#153748 - lolbinarycat:editorconfig-css, r=jieyouxu
editorconfig: css uses tabs Tidy enforces the fact that css files use tabs, but currently `.editorconfig` says everything that isn't llvm or a Makefile should always use spaces. This PR makes it so all editors that honor `.editorconfig` will use the correct indentation for css files.
2 parents 49c026f + db26b5b commit 0745d28

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ trim_trailing_whitespace = true
1212
indent_style = space
1313
indent_size = 4
1414

15+
[*.css]
16+
indent_style = tab
17+
1518
# some tests need trailing whitespace in output snapshots
1619
[tests/**]
1720
trim_trailing_whitespace = false

0 commit comments

Comments
 (0)