mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 21:03:12 +00:00
CONTRIBUTING: shorten and remove stale description
We do use "// clang-format off" (once).
This commit is contained in:
parent
ad3b76eeb7
commit
39a3aa0c2d
1 changed files with 2 additions and 6 deletions
|
@ -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
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue