# EditorConfig — 跨编辑器统一代码风格 # https://editorconfig.org root = true [*] charset = utf-8 end_of_line = crlf indent_style = space indent_size = 2 trim_trailing_whitespace = true insert_final_newline = true [*.md] trim_trailing_whitespace = false [*.{rs,toml}] indent_size = 4 [*.{yml,yaml}] indent_size = 2 [Makefile] indent_style = tab