From: Yegor Yefremov Date: Sat, 5 Aug 2023 06:32:58 +0000 (+0200) Subject: Add .editorconfig for C and CMake files X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=b006371dbde50c000cd822143310d9b605b6dfe1 Add .editorconfig for C and CMake files --- diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..40392cd --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +root = true + +[*] +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = false + +[{CMakeLists.txt,*.cmake}] +indent_style = space +indent_size = 2 +tab_width = 2 + +[{*.c,*.h}] +indent_style = space +indent_size = 4 +tab_width = 4