]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Add .editorconfig (#11412)
authorhecks <42101236+hecktest@users.noreply.github.com>
Sat, 3 Jul 2021 21:05:15 +0000 (23:05 +0200)
committerGitHub <noreply@github.com>
Sat, 3 Jul 2021 21:05:15 +0000 (23:05 +0200)
* Add an .editorconfig to the repo root folder, providing code style hints for some text editors and making the code render properly in github.

Co-authored-by: hecktest <>
.editorconfig [new file with mode: 0755]

diff --git a/.editorconfig b/.editorconfig
new file mode 100755 (executable)
index 0000000..ec06452
--- /dev/null
@@ -0,0 +1,9 @@
+[*]
+end_of_line = lf
+
+[*.{cpp,h,lua,txt,glsl,md,c,cmake,java,gradle}]
+charset = utf8
+indent_size = 4
+indent_style = tab
+insert_final_newline = true
+trim_trailing_whitespace = true