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.
This commit is contained in:
TheDaemoness 2020-05-20 19:46:13 +00:00 committed by GitHub
parent a27289352c
commit b9684941c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
.editorconfig Normal file
View File

@ -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