summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2020-03-29 03:23:50 +0200
committerDaniel Schürmann <daschuer@mixxx.org>2020-03-29 03:29:40 +0200
commitf2369499b729a1c5ec249572cdbb2d5f4f3326aa (patch)
treed3704afefbd5478fcf22412ee8e5652c69ce2e17 /.clang-format
parent998cd286d46cfc52b9d6bcd210cfb8327f84a8bc (diff)
Added line-length.py to call clang-format for lines > 100 only
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format6
1 files changed, 3 insertions, 3 deletions
diff --git a/.clang-format b/.clang-format
index a055030a64..3511d50931 100644
--- a/.clang-format
+++ b/.clang-format
@@ -3,9 +3,9 @@ BasedOnStyle: Google
IndentWidth: 4
TabWidth: 8
UseTab: Never
-# NOTE(2019-02-23, uklotzde) The column limit has been set to 0
-# to avoid eagerly reformatting of the existing code base. This
-# may later be changed to 80-100 characters per line if desired.
+# A ColumnLimit > 0 causes clang-format to unbreaks all short lines,
+# which is undesired here.
+# If the line length exeedes 100, "ColumnLimit: 80" is used in scripts/line-length.py
ColumnLimit: 0
---
# Customize only those options that differ from the base style!