From ad2afbeebd6af243c84d804cab3693a1eb8f7cdb Mon Sep 17 00:00:00 2001 From: a dinosaur Date: Sat, 14 Jun 2025 21:59:45 +1000 Subject: [PATCH] Add editorconfig --- .editorconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8fcde1d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +root = true + +[*.{c,h,py,rs,swift,metal,glsl,hlsl}] +charset = utf-8 +max_line_length = 120 +indent_style = tab +indent_size = tab +tab_width = 4 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[{CMakeLists.txt,Cargo.toml}] +charset = utf-8 +max_line_length = 120 +indent_style = tab +indent_size = tab +tab_width = 4 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true