From 39a3aa0c2d3efbb7751d82178c3125ec8bcd59df Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Thu, 24 Dec 2020 11:41:38 +0100 Subject: [PATCH] CONTRIBUTING: shorten and remove stale description We do use "// clang-format off" (once). --- CONTRIBUTING.rst | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index cfbf02b50..811f47c71 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -172,8 +172,8 @@ made to run fish_indent via e.g. Suppressing Reformatting of C++ Code ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -If you have a good reason for doing so you can tell ``clang-format`` to -not reformat a block of code by enclosing it in comments like this: +You can tell ``clang-format`` to not reformat a block by enclosing it in +comments like this: :: @@ -181,10 +181,6 @@ not reformat a block of code by enclosing it in comments like this: code to ignore // clang-format on -However, as I write this there are no places in the code where we use -this and I can’t think of any legitimate reasons for exempting blocks of -code from clang-format. - Fish Script Style Guide -----------------------