Skip to content

Commit c4d965e

Browse files
committed
Add TOML/YAML to editorconfig
1 parent af4f644 commit c4d965e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ charset = utf-8
1414
[*.py]
1515
max_line_length = 99
1616

17+
# Smaller indent for TOML/YAML
18+
[*.{toml,yaml,yml}]
19+
indent_size = 2
20+
1721
# Use 2 spaces for the HTML files
1822
[*.html]
1923
indent_size = 2

0 commit comments

Comments
 (0)