diff options
author | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-03 15:52:06 +0200 |
---|---|---|
committer | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-03 15:52:06 +0200 |
commit | 00be7622c428f279872f84569f098ce16150f8a8 (patch) | |
tree | d26128b613cf7d9c8aa6ed65f792037bdb577e5a /.editorconfig | |
parent | 89b7b67a13ebb7965cc7f13ad0595e2194a2d34c (diff) |
add clang-format and editorconfig
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f489b30 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 + +[*.{c,cpp,h}] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true + +[meson.{build,options}] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true |