The property is supported by most of the editors, but not all:
https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#max_line_length

Cc: Eric Engestrom <[email protected]>
Cc: Eric Anholt <[email protected]>
Signed-off-by: Andres Gomez <[email protected]>
---
 .editorconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.editorconfig b/.editorconfig
index c614fcca7..e0f13a949 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -4,15 +4,19 @@ root = true
 indent_style = space
 indent_size = 4
 trim_trailing_whitespace = true
+max_line_length = 79
 
 [*.{c,cpp,h,hpp}]
 indent_style = tab
 tab_width = 8
+max_line_length = 78
 
 [*.{cmake,txt}]
 indent_style = tab
 tab_width = 8
+max_line_length = 78
 
 [{README,HACKING}]
 indent_style = tab
 tab_width = 8
+max_line_length = 78
-- 
2.20.1

_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to