[Piglit] [PATCH 01/37] editorconfig: update the editorconfig file

Dylan Baker dylan at pnwbakers.com
Thu Apr 28 21:38:23 UTC 2016


- set python to utf-8
- remove "remove trailing whitespace" from python (like the emacs config)
- add glsl shaders to C style

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 .editorconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.editorconfig b/.editorconfig
index c614fcc..5e140a8 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -3,9 +3,9 @@ root = true
 [*.py]
 indent_style = space
 indent_size = 4
-trim_trailing_whitespace = true
+charset = utf-8
 
-[*.{c,cpp,h,hpp}]
+[*.{c,cpp,h,hpp,shader_test,frag,vert,geom,tesc,tese,comp}]
 indent_style = tab
 tab_width = 8
 
-- 
2.8.0



More information about the Piglit mailing list