From 68d83e43d7908e1d53262f2eab04243627b31c58 Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Thu, 1 Jul 2021 12:12:42 +0200 Subject: [PATCH] Use proper enum value for Language directive. --- .clang-format | 2 +- .editorconfig | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.clang-format b/.clang-format index 513238f..daf46c6 100644 --- a/.clang-format +++ b/.clang-format @@ -3,7 +3,7 @@ BasedOnStyle: WebKit IndentWidth: 4 ColumnLimit: 80 --- -Language: cpp +Language: Cpp PointerAlignment: Middle IndentCaseLabels: true BinPackArguments: true diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..1b092f0 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[*] +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +end_of_line = lf + +[*.{c,cpp,h,hh,py,ts,js,java,m}] +indent_style = space +indent_size = 4 + +[Makefile] +indent_style = tab