summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2016-05-31 18:16:26 +0900
committerMichel Dänzer <michel@daenzer.net>2016-06-01 17:23:55 +0900
commitaa07b365d7b0610411e118f105e49daff5f5a5cf (patch)
tree689d579080424d1a64f60b932227cb4f71ef1c08
parent040a7b80e1fcbaa93ac17f7113d696d9b853cf8a (diff)
Add .editorconfig file
Basically a conversion from .dir-locals.el, but also correctly handles files which predominantly use tabs for indentation. Also, EditorConfig supports many more editors and IDEs. Acked-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--.editorconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..2131011d
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,10 @@
+root=true
+
+[*]
+indent_style=tab
+tab_width=8
+indent_size=4
+charset=utf-8
+
+[src/{drmmode_display.c,radeon_dri3.c,radeon_glamor.c,radeon_glamor.h,radeon_glamor_wrappers.c}]
+indent_size=8