aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorJean Pierre Cimalando <jp-dev@inbox.ru>2020-06-01 01:16:28 +0200
committerDavid Robillard <d@drobilla.net>2020-06-08 21:25:43 +0200
commiteb85b35c6e5a59bf2e7d0fba222d6e47bae730a3 (patch)
treed06d20cad861fa476dceff4ea953e90d81d1a67d /.editorconfig
parent21d8b08ecd9eb410287aa5443239283abdc2319e (diff)
downloadpugl-eb85b35c6e5a59bf2e7d0fba222d6e47bae730a3.tar.gz
pugl-eb85b35c6e5a59bf2e7d0fba222d6e47bae730a3.tar.bz2
pugl-eb85b35c6e5a59bf2e7d0fba222d6e47bae730a3.zip
Add editorconfig file
See https://editorconfig.org/
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 0000000..5213b6b
--- /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
+
+[*.{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