CONTRIBUTING: shorten and remove stale description

We do use "// clang-format off" (once).
This commit is contained in:
Johannes Altmanninger 2020-12-24 11:41:38 +01:00
parent ad3b76eeb7
commit 39a3aa0c2d

View file

@ -172,8 +172,8 @@ made to run fish_indent via e.g.
Suppressing Reformatting of C++ Code Suppressing Reformatting of C++ Code
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you have a good reason for doing so you can tell ``clang-format`` to You can tell ``clang-format`` to not reformat a block by enclosing it in
not reformat a block of code by enclosing it in comments like this: comments like this:
:: ::
@ -181,10 +181,6 @@ not reformat a block of code by enclosing it in comments like this:
code to ignore code to ignore
// clang-format on // clang-format on
However, as I write this there are no places in the code where we use
this and I cant think of any legitimate reasons for exempting blocks of
code from clang-format.
Fish Script Style Guide Fish Script Style Guide
----------------------- -----------------------