mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 05:41:16 -03:00
CONTRIBUTING: shorten and remove stale description
We do use "// clang-format off" (once).
This commit is contained in:
@@ -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 can’t think of any legitimate reasons for exempting blocks of
|
|
||||||
code from clang-format.
|
|
||||||
|
|
||||||
Fish Script Style Guide
|
Fish Script Style Guide
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user