summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhecks <42101236+hecktest@users.noreply.github.com>2021-07-03 23:05:15 +0200
committerGitHub <noreply@github.com>2021-07-03 23:05:15 +0200
commite9bc59e376f88f1d4d1c6d3fedf62d9049e3e60d (patch)
tree2364946082495fdefacd9305434c3369f12715fb
parent062fd2190e0ac617499b19c51db609d3a923347e (diff)
downloadminetest-e9bc59e376f88f1d4d1c6d3fedf62d9049e3e60d.tar.gz
minetest-e9bc59e376f88f1d4d1c6d3fedf62d9049e3e60d.tar.bz2
minetest-e9bc59e376f88f1d4d1c6d3fedf62d9049e3e60d.zip
Add .editorconfig (#11412)
* 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 <>
-rwxr-xr-x.editorconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100755
index 000000000..ec0645241
--- /dev/null
+++ b/.editorconfig
@@ -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