-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
When setting "formatting"."layout"."type" to "vertical" or "try-oneline" (with a long declaration) and "formatting"."indent"."typesig": "indent-by 2"
I would expect the following formatting:
function
:: Bool
-> Int
-> Double
-> String
-> [Int]
-> Either (Maybe String) Bool
-> IO Bool
function = undefinedHowever, floskell instead produces
function :: Bool
-> Int
-> Double
-> String
-> [Int]
-> Either (Maybe String) Bool
-> IO Bool
function = undefinedThat is, the first Parameter is on the wrong line
setting "formatting"."indent"."typesig": "align" actually does produce the desired behaviour as long as the function name is 16 characters or longer.
This seems like a bug to me.
Metadata
Metadata
Assignees
Labels
No labels