aboutsummaryrefslogtreecommitdiff
path: root/pugl/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/.editorconfig')
-rw-r--r--pugl/.editorconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/pugl/.editorconfig b/pugl/.editorconfig
new file mode 100644
index 0000000..5213b6b
--- /dev/null
+++ b/pugl/.editorconfig
@@ -0,0 +1,18 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.{c,h,m,cpp,hpp,mm,glsl,frag,vert}]
+indent_style = tab
+
+[wscript]
+indent_style = space
+indent_size = 4
+
+[doc/**.{html,xml,css}]
+indent_style = space
+indent_size = 2