summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2016-02-01 11:05:06 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2016-02-01 11:05:06 +0100
commit95f27fee0b5abed6052b7675b5b8bd6e77cb092d (patch)
treeaa0cd761c5787e0d90a0f562c39dcbdca106803d /src
parentbf2138aa25af19c1d9993a8d68d0f5795b09dad1 (diff)
downloadstylish-haskell-95f27fee0b5abed6052b7675b5b8bd6e77cb092d.tar.gz
Use underscores in the yaml options
Diffstat (limited to 'src')
-rw-r--r--src/Language/Haskell/Stylish/Config.hs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Language/Haskell/Stylish/Config.hs b/src/Language/Haskell/Stylish/Config.hs
index 271a461..556002d 100644
--- a/src/Language/Haskell/Stylish/Config.hs
+++ b/src/Language/Haskell/Stylish/Config.hs
@@ -181,15 +181,15 @@ parseImports config o = Imports.step
]
listAligns =
- [ ("new line", Imports.NewLine)
- , ("with alias", Imports.WithAlias)
- , ("after alias", Imports.AfterAlias)
+ [ ("new_line", Imports.NewLine)
+ , ("with_alias", Imports.WithAlias)
+ , ("after_alias", Imports.AfterAlias)
]
longListAligns =
[ ("inline", Imports.Inline)
- , ("new line", Imports.InlineWithBreak)
- , ("new line-multiline", Imports.InlineToMultiline)
+ , ("new_line", Imports.InlineWithBreak)
+ , ("new_line_multiline", Imports.InlineToMultiline)
, ("multiline", Imports.Multiline)
]