Add .editorconfig.
This commit is contained in:
parent
538a61b205
commit
9431db2a8f
19
.editorconfig
Normal file
19
.editorconfig
Normal file
@ -0,0 +1,19 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.{c,cc,h,inl}]
|
||||
indent_size = 2
|
||||
|
||||
[*.{py,rs,toml}]
|
||||
indent_size = 4
|
||||
|
||||
[*.pl]
|
||||
trim_trailing_whitespace = false
|
||||
indent_style = tab
|
||||
indent_size = 4
|
Loading…
x
Reference in New Issue
Block a user