diff options
Diffstat (limited to 'data/stylish-haskell.yaml')
-rw-r--r-- | data/stylish-haskell.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/data/stylish-haskell.yaml b/data/stylish-haskell.yaml index 1c04b3d..d1c55f1 100644 --- a/data/stylish-haskell.yaml +++ b/data/stylish-haskell.yaml @@ -149,6 +149,18 @@ steps: # to. Different steps take this into account. Default: 80. columns: 80 +# 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 # command line instead of using language pragmas in the file. stylish-haskell # needs to be aware of these, so it can parse the file correctly. |