1
1
mirror of https://github.com/tweag/ormolu.git synced 2024-09-11 13:16:13 +03:00
Commit Graph

716 Commits

Author SHA1 Message Date
Mark Karpov
db5b92a932
Update the building instructions 2021-09-14 11:05:04 +02:00
amesgen
897e6736ec Improve handling of disabled regions
Co-authored-by: kukimik <kukimik@poczta.onet.pl>
2021-09-13 22:22:55 +02:00
Mark Karpov
427aa7191c
Mention adding IOHK Hydra binary cache before building 2021-09-13 12:17:02 +02:00
amesgen
2678578967 Bump GHC to 8.10.7 2021-09-10 16:27:46 +02:00
amesgen
46a3142fce Omit braces on repeated application of do blocks 2021-08-25 10:29:54 +02:00
amesgen
776fb767ea Render empty case expressions with braces 2021-08-23 15:50:33 +02:00
amesgen
e1df99ae03 Release binaries: store targets of symlinks 2021-08-19 12:02:53 +02:00
amesgen
e0e961e39f Include git info in executable 2021-08-18 14:29:13 +02:00
Mark Karpov
09f45d87eb
Prevent nix-build from failing when stack.yaml exists 2021-08-18 11:56:32 +02:00
Mark Karpov
5e29428ccf
Update the building instructions in the readme 2021-08-16 21:12:01 +02:00
amesgen
c1d8a8083c Switch to haskell.nix 2021-08-16 20:53:12 +02:00
Mark Karpov
27f3f8e046
Keep FILE arguments at the end of the CLI help text 2021-08-14 16:27:44 +02:00
Mark Karpov
80638316eb
Clarify the meaning of --stdin-input-file in the readme 2021-08-13 15:34:09 +02:00
Mark Karpov
6a190d5c9e
Fix a link in the readme 2021-08-13 15:31:35 +02:00
amesgen
59fced3058 Add option to respect default-extensions from .cabal files 2021-08-12 18:22:21 +02:00
amesgen
3f52afa1d3 Read and write text files using UTF8 and ignoring native line ending 2021-08-11 14:42:21 +02:00
amesgen
011f0dad79 Ormolize hasura/graphql-engine 2021-08-10 17:32:14 +02:00
amesgen
035360e80d Format do commands like do blocks in expression contexts 2021-08-10 17:17:08 +02:00
amesgen
c3f8882c15 Format infix command formations like usual operators 2021-08-10 12:03:17 +02:00
amesgen
27f9ecbf2c Format data declarations with multiline kind signatures correctly 2021-08-09 22:43:23 +02:00
amesgen
5210f1058c Minor changelog fixes for 0.2.0.0 2021-08-08 13:01:16 +02:00
Felix Yan
4055c330ca Correct some typos in DESIGN.md 2021-08-07 19:59:22 +02:00
Mark Karpov
f94a3c71b4
Version bump (0.2.0.0) 2021-08-07 18:11:08 +02:00
amesgen
63a2560d4c Modernize cabal file
also use extra-source-files instead of data-files, as we don't need
those files at runtime
2021-08-07 17:13:52 +02:00
Robert Vollmert
3fc9ff3415 Indent closing arrow-banana in do block 2021-08-07 16:39:16 +02:00
amesgen
bec43c1098 Detect missing trailing blank lines with --mode check 2021-08-07 16:28:05 +02:00
Robert Vollmert
f1d701f911 Support left-to-right arrow application
Compare https://hackage.haskell.org/package/ghc-8.10.2/docs/src/GHC.Hs.Expr.html#HsCmdArrApp
2021-08-07 16:20:06 +02:00
amesgen
7ac125143b Preserve minus signs in literal patterns in all cases 2021-08-07 16:14:36 +02:00
amesgen
e7e1921bd0 Remove spaces after negation via - where possible 2021-08-07 16:14:36 +02:00
amesgen
92aec5077f Allow CLI GHC options to be overriden by file local options 2021-08-07 16:08:07 +02:00
amesgen
c906ee7c02 Fix formatting of applied multi line constructs in do blocks 2021-08-07 15:52:53 +02:00
amesgen
50da97948a Surround code in brackets with spaces if it contains a * ~ Type 2021-08-07 15:39:25 +02:00
amesgen
d272a99c03 Fix formatting of infix arrow command formations 2021-08-07 15:31:17 +02:00
amesgen
ebcfe1c8a9 Support TypeApplications in data/type family instances 2021-08-07 15:12:14 +02:00
amesgen
6344ffd299 Preserve CTYPE pragmas in data declarations 2021-08-07 15:01:17 +02:00
amesgen
f55ab70bff Switch to ghc-lib-parser-9.0.xxx and support GHC 8.8, 8.10, 9.0 2021-08-07 14:28:12 +02:00
Robert Vollmert
58108e0dcd Implement HsCmdApp (fixes #716) 2021-07-05 11:19:07 +02:00
Joe Hermaszewski
9861707130 Simplify p_conDecl GADT rendering by using p_hsType
This can be upstreamed to Ormolu
2021-06-17 21:00:24 +02:00
Joe Hermaszewski
20856eec26 Add two missing cases to hasDocStrings 2021-06-17 21:00:24 +02:00
Mark Karpov
3adef733a9
Update the changelog (mention the issue 701) 2021-05-13 19:47:54 +02:00
David Martschenko
7f79473e64 Fix rendering of regular record updates with RDP on 2021-05-13 19:46:18 +02:00
Mark Karpov
50d0e28bfd Do not enable TH by default 2021-04-17 19:23:39 +02:00
Mark Karpov
77debd145f
Mention the git ls-files trick in the readme 2021-04-12 22:27:33 +02:00
amesgen
34bdf62429
Group StandaloneKindSignatures with type synonyms 2021-02-02 21:15:27 +01:00
Mark Karpov
4e01690e05 Test with GHC 8.10.3 2021-01-04 22:43:38 +01:00
amesgen
dc14e944b3 update CI for release binaries 2020-12-13 17:17:49 +01:00
Mark Karpov
a63ded8397
Simplify the definition of ‘optParserInfo’ 2020-12-11 22:06:38 +01:00
Mark Karpov
9cad22a2fe
Mention the ormolu-action in the readme 2020-11-15 22:14:25 +01:00
Mark Karpov
7714b5220e
Version bump (0.1.4.1) 2020-11-15 20:51:22 +01:00
Mark Karpov
ff9d64db24 Add ‘--color’ for controlling how diffs are printed
Also refactor the printing code and standardize how error messages are
output.
2020-11-15 20:50:38 +01:00