Skip to content

Indentation of first data constructor does not work with haskell-indent #1080

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jstolarek opened this issue Jan 14, 2016 · 0 comments
Closed

Comments

@jstolarek
Copy link

Say I am declaring a data type:

data FooX

where X is the cursor position. Pressing enter does not indent the new line, but I would expect there to be some indentation:

data Foo
X

Now I define a data constructor:

data Foo
= BarX

In this setting pressing tab does not indent the code. #1079 might be related.

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

No branches or pull requests

2 participants