[PATCH xf86-video-ati] Add .editorconfig file

Michel Dänzer michel at daenzer.net
Tue May 31 09:18:49 UTC 2016


From: Michel Dänzer <michel.daenzer at amd.com>

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.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
 .editorconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 .editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..a47d030
--- /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
\ No newline at end of file
-- 
2.8.1



More information about the xorg-driver-ati mailing list