diff --git a/.clang-format b/.clang-format index 9d796ad92..826f8ff24 100644 --- a/.clang-format +++ b/.clang-format @@ -48,3 +48,6 @@ IncludeBlocks: Preserve # Empty lines MaxEmptyLinesToKeep: 2 KeepEmptyLinesAtTheStartOfBlocks: false + +# Dont reformat go:build directives +CommentPragmas: '^go:build'