From e10d02c77e54cb035c625e255f0df208cb3c86a0 Mon Sep 17 00:00:00 2001 From: Jason Nader Date: Fri, 19 Nov 2021 16:27:48 +0900 Subject: Add editorconfig --- .editorconfig | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..825871a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +# For the full list of code style requirements, see sway's CONTRIBUTING.md + +root = true + +[*] +charset = utf-8 +end_of_line = lf + +[*.{c,h,cmake,txt}] +indent_style = tab +indent_size = 4 + +[*.{xml,yml}] +indent_style = space +indent_size = 2 + +[config] +indent_style = space +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false -- cgit v1.2.3