Skip to content

Disabling case et alii alignment #83

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
moll opened this issue Oct 18, 2016 · 4 comments
Closed

Disabling case et alii alignment #83

moll opened this issue Oct 18, 2016 · 4 comments

Comments

@moll
Copy link

moll commented Oct 18, 2016

Hey,

An otherwise nice syntax and indenting plugin, but I'm not a fan of the case clause indenting aligning it with the case keyword on the previous line. Would it be possible to make this and other similar settings configurable to disable the alignment and just leave it with a n-character indent?

Personally, I've found alignments waste precious horizontal space from 80 columns. ^_^

Thanks!

@raichoo
Copy link
Member

raichoo commented Oct 26, 2016

Indentation has always been configurable you can edit the let g:haskell_indent_case = 2 settings. If that's what you are looking for.

@moll
Copy link
Author

moll commented Oct 26, 2016

While further indent depth is configurable, Haskell.vim does indent aligning like I describe above. That isn't configurable. :-)

raichoo added a commit that referenced this issue Oct 26, 2016
@raichoo
Copy link
Member

raichoo commented Oct 26, 2016

Ah I see, try to set let g:haskell_indent_case_alternative = 1. I've just added this.

@moll
Copy link
Author

moll commented Dec 12, 2016

I'll give it a try. Thank you!

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

No branches or pull requests

2 participants