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
Alexander Esgen
e3ad839959 Cache operator fixity maps 2021-12-17 14:37:44 +01:00
Mark Karpov
72054360f5 Move defaultFixityMap to Ormolu live 2021-12-16 23:26:53 +01:00
Thomas BAGREL
1f63136d04 Operator chain overhaul
See the changelog for details.

Co-authored-by: Alexander Esgen <alexander.esgen@tweag.io>
Co-authored-by: Mark Karpov <mark.karpov@tweag.io>
2021-12-16 16:23:57 +01:00
Mark Karpov
551faf3ee9
Update the author and maintainer fields of Ormolu live 2021-12-13 20:10:21 +01:00
Alexander Esgen
2c52cff9ea Add haskell-language-server to dev shell 2021-12-08 19:27:49 +01:00
Mark Karpov
47f31ac1c7
Update the CONTRIBUTING.md file 2021-12-02 22:45:37 +01:00
amesgen
42550a2bbd Use graphql-engine from nixpkgs
It now points to an up-to-date version.
2021-11-30 18:25:42 +01:00
amesgen
308542e06a Fix type synonyms with comment before = 2021-11-30 16:32:12 +01:00
Thomas BAGREL
d0e558d05b Escape invalid haddock comments 2021-11-29 17:20:58 +01:00
Mark Karpov
807ee05aee
Version bump (0.4.0.0) 2021-11-29 13:27:30 +01:00
amesgen
3781d37488 Rebuild all GHCJS dependencies by upgrading haskell.nix 2021-11-17 17:25:33 +01:00
amesgen
e813e5781e Use custom macdylibbundler 2021-11-17 17:02:54 +01:00
amesgen
e67a56dea2 Use newer Closure Compiler 2021-11-16 20:04:18 +01:00
Mark Karpov
ebe1754b86
Remove duplicated info from the recent changelog entry 2021-11-16 19:20:35 +01:00
amesgen
11cda4c653 Switch to ghc-lib-parser-9.2 2021-11-16 18:16:46 +01:00
amesgen
e003e11a56 Add commit hash alias for Ormolu Live 2021-11-02 14:14:41 +01:00
amesgen
dae9d25b12 Preserve rewrite rules that are never active 2021-11-02 14:14:06 +01:00
amesgen
009ea19a9b Mention HLS in README 2021-10-29 15:25:11 +02:00
Mark Karpov
331bf40840
Add blank lines between entries in the changelog
We have stopped doing that and I think it is nice for readability.
2021-10-28 15:20:19 +02:00
amesgen
d3cf91e609 Remove blank Haddock comments 2021-10-28 15:13:46 +02:00
amesgen
1eec90541c
Add Ormolu Live 2021-10-27 00:17:03 +02:00
amesgen
79b7b63eef Add weeder to CI 2021-10-26 22:05:23 +02:00
amesgen
8b24cc00e4 Include comment stream in debug output 2021-10-26 21:47:52 +02:00
Thomas BAGREL
b889919794 Implement support for Backpack 2021-10-26 12:41:44 +02:00
Thomas BAGREL
c222964d48 Indent post-guard expression one level more 2021-10-21 18:10:42 +02:00
amesgen
753a73c629 Store raw lines in an array for faster indexing 2021-10-21 11:23:53 +02:00
Mark Karpov
048c55c1be Check Ormolu by running it on Brittany
Brittany cannot format itself, but we can format it with Ormolu. It is a
good idea to add it to our tests.
2021-10-20 16:01:57 +02:00
Mark Karpov
7d4e47b4ed Force a space after -- in line comments 2021-10-19 14:00:32 +02:00
amesgen
4dcf8149f4 Workaround for macOS 11 issues 2021-10-18 12:19:13 +02:00
Mark Karpov
a12da788ad
Use macOS-10.15 for release generation for MacOS
Release generation fails on MacOS 11 due to #804.
2021-10-18 11:39:49 +02:00
Brandon Chinn
5548d632ae Control regeneration of test examples via an env variable 2021-10-16 12:34:25 +02:00
Mark Karpov
560e2d309b
Version bump (0.3.1.0) 2021-10-14 20:22:32 +02:00
amesgen
ca9ae9d291 Semi-preserve invalid Haddock comments
Invalid Haddock comments are no longer silently deleted, but rather
converted into regular comments.
2021-10-14 20:14:07 +02:00
Mark Karpov
71cf4fdc85
Update the table of exit codes
Now the check mode works for input from stdin.
2021-10-12 15:12:28 +02:00
Robert Vollmert
dc04bd7cbb Point at release page for installation instructions 2021-10-12 14:52:08 +02:00
Mark Karpov
e94d623360
Changelog: a formatting whim (issue 634) 2021-10-05 18:30:43 +02:00
Thomas BAGREL
714b98e7f2 Make formatting of multiline guards more diff-friendly
Now guards are printed on a new line if at least one guard is multiline or
if all guards together occupy more than one line. The body of each guard is
also indented one level deeper in that case.
2021-10-05 18:29:17 +02:00
Mark Karpov
a320d99583 Allow check mode when working with stdin input 2021-09-30 10:58:46 +02:00
Mark Karpov
c7ede903a0
Fix an unfortunate typo in the design document 2021-09-28 17:30:31 +02:00
amesgen
dfcbf90b2b Minimize binary sizes 2021-09-27 13:34:27 +02:00
amesgen
1187a81f21 Mention core.autocrlf != false pitfall 2021-09-24 17:51:21 +02:00
Mark Karpov
d14132ecd3
Version bump (0.3.0.1) 2021-09-24 16:00:11 +02:00
amesgen
cc6ebf6e2b Build self-contained macOS binary
Also add a basic test that the binaries actually work
2021-09-24 15:43:33 +02:00
amesgen
e38a7cd5a4 Preserve braces in the left hand side of : 2021-09-23 15:59:25 +02:00
amesgen
2967133753 Only handle CPP if CPP is actually enabled 2021-09-23 15:48:54 +02:00
amesgen
0bb9363e61 Improve handling of .cabal files
See the changelog for details.
2021-09-23 15:41:42 +02:00
amesgen
4fb3b3b373
Add stack.yaml 2021-09-15 14:26:56 +02:00
amesgen
6623031db5 Mention new intentional formatting failures
Closes #774.
2021-09-14 18:06:11 +02:00
Mark Karpov
06b767c8b7
Version bump (0.3.0.0) 2021-09-14 11:10:02 +02:00
Mark Karpov
a1773e1ccb
Update the description of magic comments in the readme
The logic has changed a little.
2021-09-14 11:06:58 +02:00