Add .editorconfig file

Many project in the freedesktop graphics space use editorconfig files as
a way to standardize style in an editor agnostic way. This one
configures all of the files current in libglvnd (I looked at the .c and
.h files and they seem to all use 4 spaces for indent). Because it
seemed everything used 4 spaces I just set that to the default and
overrode as necessary.
This commit is contained in:
Dylan Baker 2019-11-20 08:47:21 -08:00
parent eade458a67
commit 000a0f2b71

9
.editorconfig Normal file
View file

@ -0,0 +1,9 @@
root = true
[*]
indent_size = 4
indent_style = space
[{Makefile.am,*.mk}]
indent_size = 8
indent_style = tab