summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2020-11-06 05:12:29 +0300
committerGitHub <noreply@github.com>2020-11-06 05:12:29 +0300
commit812c8bc14a4214e9d0970e7a333be72e745137b2 (patch)
tree45ad40df49ac4c616280c889f2f8dbaae3e3e1ad /.editorconfig
parentec42b42ce601808070462111c0c28edb0e89babb (diff)
Add editorconfig
This commit also purges .gitignore, since the files mentioned in it should be handled by global ignore file. Fixes #4378.
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..303e9296
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,18 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+trim_trailing-whitespace = true
+insert_final_newline = true
+
+[*.{glsl,rs,toml}]
+indent_style = space
+indent_size = 4
+
+[*.yml]
+indent_style = space
+indent_size = 2
+
+[Makefile]
+indent_style = tab