mirror of
https://github.com/google/ormolu.git
synced 2024-10-26 08:31:36 +03:00
dde7560291
Ormolu can be turned on and off via the special comments: {- ORMOLU_DISABLE -} and {- ORMOLU_ENABLE -} This allows us to disable formatting selectively for code between these markers or disable it for the entire file. To achieve the latter, just put {- ORMOLU_DISABLE -} at the very top. Note that the source code should still be parseable even without the “excluded” part. Because of that the magic comments cannot be placed arbitrary, but should rather enclose independent top-level definitions. |
||
---|---|---|
.. | ||
examples |