Strange hiding formatting #150
Labels
No Label
blocked: dependency
blocked: info-needed
bug
duplicate
enhancement
fixed in HEAD
help wanted
hs:arrows
hs:brackets
hs:classes
hs:comments
hs:do-notation
hs:guards
hs:lists
hs:operators
hs:patterns
hs:records
hs:types
invalid
language extension support
layouting
needs confirmation
priority: high
priority: low
question
revisit before next release
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: hexagoxel/brittany#150
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
With
brittany-0.11.0.0
, I'm getting the following for a longhiding
import, is it intentional?It looks quite weird to me, I would've expected this:
Or maybe this:
I'm using this configuration:
Oh, I'm sorry! I don't know for sure if this is caused by brittany, stylish-haskell, or the fact that I'm using both in the same project. I'm going to close and may re-open if I can suss that out.EDIT: This is indeed Brittany. Using only stylish-haskell, I get:
And I get a correct vertical alignment when I go past 80 columns.
@pbrisbin this fix produces the very basic
I can change this to one of your proposed versions. I think I'd rather go with the second one, as the reader might overlook the "hiding" in the first version? What is your preference?
Thanks for such a quick turn around! It's totally up to you if you want to change things further, but if you're asking for my own total ideal, it would be this:
(indent 4, columns 80)
But, if "import {module} (as {alias})" cross 80-columns, then
Or maybe this?