Set different indent policy for preamble #349
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#349
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?
I'd love it if it were possible to use IndentPolicyFree on the module preamble, but IndentPolicyLeft on the body code.
IndentPolicyFree
IndentPolicyLeft & IndentPolicyMultiple
My goal is to achieve the import list of the former, with the body formatted as the latter. Specifically, I dislike how in the former result,
complexFunction
and theLeft
/Right
are indented to (4n + 1) spaces! It looks like a hanging indent from\x
, but this is quite ugly.