Skip to content

Feature request: space before #if and after #endif #484

Description

@pikajude

hindent turns this

import Text.Read (readMaybe)

#ifdef HACKAGE
import Hackage
#else
testHackage _ = pure ()
#endif

newtype GetPackage = GetPackage {...}

into this:

import Text.Read (readMaybe)
#ifdef HACKAGE
import Hackage
#else
testHackage _ = pure ()
#endif
newtype GetPackage = GetPackage {...}

which isn't very pretty to read.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions