2020-02-09 07:39:04 +08:00
|
|
|
# editorconfig.org
|
|
|
|
root = true
|
|
|
|
|
2023-10-28 08:46:09 +08:00
|
|
|
[*]
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
|
2020-02-09 07:39:04 +08:00
|
|
|
[{*.patch,syntax_test_*}]
|
|
|
|
trim_trailing_whitespace = false
|
|
|
|
|
2023-04-27 02:51:33 +08:00
|
|
|
[{*.c,*.cpp,*.h,*.ino,*.py,Makefile}]
|
2020-02-09 07:39:04 +08:00
|
|
|
end_of_line = lf
|
2023-04-27 02:51:33 +08:00
|
|
|
|
|
|
|
[{*.c,*.cpp,*.h,*.ino}]
|
|
|
|
charset = utf-8
|
2020-02-09 07:39:04 +08:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
2023-04-27 02:51:33 +08:00
|
|
|
[{Makefile}]
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 2
|
|
|
|
|
2023-10-28 08:46:09 +08:00
|
|
|
[*.md]
|
|
|
|
# Two spaces at the end of the line means newline in Markdown
|
|
|
|
trim_trailing_whitespace = false
|
|
|
|
|
2022-08-20 00:00:52 +08:00
|
|
|
[{*.py}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
|
|
|
[{*.conf,*.sublime-project}]
|
2020-02-09 07:39:04 +08:00
|
|
|
indent_style = tab
|
|
|
|
indent_size = 4
|