Skip to content

Stepped indentation with haskell-indentation-mode and yasnippets #719

Closed
@eigengrau

Description

@eigengrau

When haskell-indent-mode is active, using ghc-insert-template-or-signature to expand a class instance stub, or expanding from a yasnippet keyword, produces odd indentation. It looks as if the layout rule is applied after every line.

instance Num Token where
    x + y = _body
            x - y = _body
                    x * y = _body
                            …

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions