Open Philonous opened 3 years ago
When setting "formatting"."layout"."type" to "vertical" or "try-oneline" (with a long declaration) and "formatting"."indent"."typesig": "indent-by 2"
"formatting"."layout"."type"
"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 = undefined
However, floskell instead produces
That 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.
"formatting"."indent"."typesig": "align"
This seems like a bug to me.
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:
However, floskell instead produces
That 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.