diff --git a/.clang-format b/.clang-format index cb3eef848458bacbe674aa18dbba6cdc985d5c9e..9c3964ad86ff22a86cd66f2c3ce0a6f18ad92234 100644 --- a/.clang-format +++ b/.clang-format @@ -1,5 +1,6 @@ BasedOnStyle: LLVM AlignAfterOpenBracket: true +AlignConsecutiveAssignments: true IndentWidth: 4 AlwaysBreakAfterDefinitionReturnType: None PenaltyReturnTypeOnItsOwnLine: 9999999 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0918595c0569b2f7659136a16efce9345ad035dc..a51c4207adda85ce68fa7d7646aaf402a08812c0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -199,7 +199,7 @@ for new files, or cosmetic `tidy/*` branches, but try to stick to existing formatting elsewhere. Installing it is straightforward on most package managers. Nektar++ relies on -options that are used in version 3.6 or later. +options that are used in version 3.7 or later. There are a number of instructions on how to use `clang-format` inside a number of text editors on the