aboutsummaryrefslogtreecommitdiff
path: root/kde-modules/clang-format.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'kde-modules/clang-format.cmake')
-rw-r--r--kde-modules/clang-format.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/kde-modules/clang-format.cmake b/kde-modules/clang-format.cmake
index cf5ff2c0..8f335f2e 100644
--- a/kde-modules/clang-format.cmake
+++ b/kde-modules/clang-format.cmake
@@ -86,3 +86,8 @@ AllowShortLambdasOnASingleLine: Empty
# We do not want clang-format to put all arguments on a new line
AllowAllArgumentsOnNextLine: false
+
+# Don't change spaces after '//' in code comments
+SpacesInLineCommentPrefix:
+ Minimum: 0
+ Maximum: -1