Add yaml and py to editorconfig

This commit is contained in:
fanyx 2024-03-26 17:12:56 +01:00
parent 7b098b83ae
commit 68b46c4db8
1 changed files with 13 additions and 2 deletions

View File

@ -3,8 +3,19 @@ root = true
[*] [*]
# charset = utf-8 # charset = utf-8
end_of_line = lf end_of_line = lf
indent_style = space indent_style = tab
indent_size = 4
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true
[*.md]
indent_size = 4
indent_style = space
[*.{yml,yaml}]
indent_size = 2
indent_style = space
[*.py]
indent_style = space
indent_size = 4