From b9684941c4d2b597629a4adec47d0b245fd5ae5d Mon Sep 17 00:00:00 2001 From: TheDaemoness Date: Wed, 20 May 2020 19:46:13 +0000 Subject: [PATCH] Create .editorconfig [Most major editors](https://editorconfig.org/#download) support EditorConfig for declaring per-file per-project indentation rules. It costs almost nothing to maintain, and it makes it easier to follow the coding styles already used in kitty. --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..2e80b4063 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[*] +indent_style = spaces +indent_size = 4 +end_of_line = lf +trim_trailing_whitespace = true + +[{Makefile,*.terminfo}] +indent_style = tab + +# Autogenerated with tabs. +[kitty/{unicode-data.c,emoji.wcwidth-std.h}] +indent_style = tab