summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Gomez <agomez@igalia.com>2019-02-22 16:51:28 +0200
committerAndres Gomez <agomez@igalia.com>2019-02-26 12:42:52 +0200
commitec07e33d1203de2a7680f68846acf5919776d5a0 (patch)
tree47a8f607e549d8fcc516e2bb99423b30610ba0d9
parentb5e4e7f6dc950ca815d6b0d642bce9d88feab599 (diff)
editorconfig: Add max_line_length property
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 <eric@engestrom.ch> Cc: Eric Anholt <eric@anholt.net> Signed-off-by: Andres Gomez <agomez@igalia.com> Acked-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com> Acked-by: Dylan Baker <dylan@pnwbakers.com>
-rw-r--r--.editorconfig4
1 files changed, 4 insertions, 0 deletions
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