summaryrefslogtreecommitdiffhomepage
path: root/data
diff options
context:
space:
mode:
authorSvyatoslav Gryaznov <nightuser@ya.ru>2016-07-06 15:17:26 +0300
committerSvyatoslav Gryaznov <nightuser@ya.ru>2016-07-06 15:17:26 +0300
commit9ad660b96b3846341b54e7af727e6a9d1fbb6b5a (patch)
tree79e5f7535d15f65318fb45cf173649643652bcd6 /data
parente0c887c21e3956aa6865e51a981d6faa715b937b (diff)
downloadstylish-haskell-9ad660b96b3846341b54e7af727e6a9d1fbb6b5a.tar.gz
Add documentation for `newline` option
Diffstat (limited to 'data')
-rw-r--r--data/stylish-haskell.yaml11
1 files changed, 10 insertions, 1 deletions
diff --git a/data/stylish-haskell.yaml b/data/stylish-haskell.yaml
index f74b00d..9791ffc 100644
--- a/data/stylish-haskell.yaml
+++ b/data/stylish-haskell.yaml
@@ -144,7 +144,16 @@ steps:
# to. Different steps take this into account. Default: 80.
columns: 80
-# Newline format for output files
+# By default, line endings are converted according to the OS. You can override
+# preferred format here.
+#
+# - native: Native newline format. CRLF on Windows, LF on other OSes.
+#
+# - lf: Convert to LF ("\n").
+#
+# - crlf: Convert to CRLF ("\r\n").
+#
+# Default: native.
newline: native
# Sometimes, language extensions are specified in a cabal file or from the