Skip to content

GADT indentation does not work #16

@s9gf4ult

Description

@s9gf4ult

Here is the code

data Collection (s :: [S]) (k :: key -> *) (f :: key -> *) where
  Rec     :: Record k f                   -> Collection '[] k f
  List    :: DList (Record k f)           -> Collection '[ 'L ] k f
  Grouped :: Map (DSum k f) (Collection s k f) -> Collection ('G ': s) k f

If I step at the end of declaration wanting to add new constructor, hi2 proposes me just one indentation position and it is totally wrong:

2017-02-28-123232_836x122_scrot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions