[Piglit] [PATCH v2 1/37] editorconfig: update the editorconfig file

Dylan Baker dylan at pnwbakers.com
Tue Sep 6 19:20:39 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
 
-- 
git-series 0.8.10


More information about the Piglit mailing list