From a1773e1ccb04a04a816e8ceb2c1ff884f84e345f Mon Sep 17 00:00:00 2001 From: Mark Karpov Date: Tue, 14 Sep 2021 11:06:58 +0200 Subject: [PATCH] Update the description of magic comments in the readme The logic has changed a little. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8e11c78..253c0ce 100644 --- a/README.md +++ b/README.md @@ -152,9 +152,9 @@ and 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 for Ormolu to work the -source code must still be parseable even when the disabled regions are -omitted. Because of that the magic comments cannot be placed arbitrarily, -but rather must enclose independent top-level definitions. +fragments where Ormolu is enabled must be parseable on their own. Because of +that the magic comments cannot be placed arbitrarily, but rather must +enclose independent top-level definitions. ### Account for .cabal files