From: Edwin Rodriguez Date: Wed, 1 Oct 2025 00:35:48 +0000 (-0400) Subject: Update CodingStyle to specify use of spaces X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3eac91cec63e171267b0cec99242f908d04f65e8;p=ceph.git Update CodingStyle to specify use of spaces Signed-off-by: Edwin Rodriguez --- diff --git a/CodingStyle b/CodingStyle index 019d23c7703dc..54f0700358fbf 100644 --- a/CodingStyle +++ b/CodingStyle @@ -74,12 +74,11 @@ by section. (LGPL2.1 or LGPL3.0) or the code origin isn't reflected by the git history. * Formatting > Tabs: - Indent width is two spaces. When runs of 8 spaces can be compressed - to a single tab character, do so. The standard Emacs/Vim settings - header is: + Indent width is two spaces. Tabs are expanded to spaces. + The standard Emacs/Vim settings header is: -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- -// vim: ts=8 sw=2 smarttab ft=cpp +// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- +// vim: ts=8 sw=2 sts=2 expandtab ft=cpp * Formatting > Conditionals: