column-limit
Description | Max line length for automatic line breaking |
---|---|
Options |
|
Default | none |
Ormolu | none |
Since | v0.12.0.0 |
If set to a number, fourmolu will try to break up lines longer than that many characters.
WARNING: Setting this option may break idempotence.
Examples
rootUsers :: [String]
rootUsers = ["root"]
adminUsers :: [String]
adminUsers = ["hunter2", "elon.musk", "simon.peyton.jones"]
regularUsers :: [String]
regularUsers = ["alice", "bob", "charlie", "david", "eve", "felicia", "greg", "hailey", "isaac"]
rootUsers :: [String]
rootUsers = ["root"]
adminUsers :: [String]
adminUsers =
[ "hunter2"
, "elon.musk"
, "simon.peyton.jones"
]
regularUsers :: [String]
regularUsers =
[ "alice"
, "bob"
, "charlie"
, "david"
, "eve"
, "felicia"
, "greg"
, "hailey"
, "isaac"
]
rootUsers :: [String]
rootUsers = ["root"]
adminUsers :: [String]
adminUsers = ["hunter2", "elon.musk", "simon.peyton.jones"]
regularUsers :: [String]
regularUsers =
[ "alice"
, "bob"
, "charlie"
, "david"
, "eve"
, "felicia"
, "greg"
, "hailey"
, "isaac"
]
For more examples, see the test files.