diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2016-07-07 13:36:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-07 13:36:18 +0200 |
commit | abc92ea4778ac25b7944b9f4c7f82eb95f0238c2 (patch) | |
tree | b0917555b112062f293283addf938ddf01e975e9 /data | |
parent | f1dd5c4be6065bedc8cd764767b7c05420a9d40d (diff) | |
parent | 486dcc2da09017b09eeb82001bf0d2cdba5043d0 (diff) | |
download | stylish-haskell-abc92ea4778ac25b7944b9f4c7f82eb95f0238c2.tar.gz |
Merge pull request #116 from nightuser/newlineformat
Add newline format option
Diffstat (limited to 'data')
-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. |