Lennart Spitzner
e9f764e0e7
Add showcase for IndentPolicyLeft
2018-03-25 18:07:19 +02:00
Lennart Spitzner
f8c93e06f4
Add showcase for module layouting
...
[ci skip]
2018-03-25 17:48:59 +02:00
Lennart Spitzner
b142837f1a
Remove old bug notice from README.md
...
[ci skip]
2018-03-25 16:58:17 +02:00
Lennart Spitzner
8cabd08477
Update README.md and commandline description
2018-03-25 16:06:36 +02:00
Lennart Spitzner
3b20d0275e
Bump to 0.10.0.0, Add Changelog
2018-03-23 19:32:30 +01:00
Lennart Spitzner
0845142727
Fix let-in comment placement bug ( fixes #110 )
2018-03-23 17:34:36 +01:00
Lennart Spitzner
bdd3b155f3
Fix HsPar comment placement bug (see #111 )
2018-03-23 17:11:39 +01:00
Lennart Spitzner
3847325fd5
Omit single-line layout for OpApp with comments ( fixes #111 )
2018-03-23 17:02:58 +01:00
Lennart Spitzner
a003b932a9
Fix comments in tuples being dropped ( fixes #37 )
2018-03-23 16:55:28 +01:00
Lennart Spitzner
d634d34ff1
Fix module-import-hiding-items layout
2018-03-23 15:41:41 +01:00
Lennart Spitzner
90a2f65ba7
Align applications on for same function, plus minor fixup
...
Arguments of two function applications will only be aligned
if the same function is called in both cases.
The column transform was altered slightly to fix #65
properly as well.
fixes #65 , #128
2018-03-22 01:19:56 +01:00
Lennart Spitzner
46de13256b
Add one more testcase
2018-03-21 16:03:38 +01:00
Lennart Spitzner
487c32175a
Refactor Alt.hs and Add out-commented alternative
2018-03-21 16:03:38 +01:00
Lennart Spitzner
f1536b8966
Merge pull request #83/#124 from sniperrifle2004/import
2018-03-21 01:06:26 +01:00
Lennart Spitzner
8de56ba11d
Support import column vs import-as column
2018-03-21 01:02:44 +01:00
Lennart Spitzner
1330aeb6b4
Fix ticked type operator losing tick ( fixes #125 )
2018-03-13 23:51:22 +01:00
Lennart Spitzner
60775bbc62
Switch stack.yaml resolver to lts-11.0
2018-03-13 23:24:05 +01:00
Lennart Spitzner
a1c832e85c
Merge pull request #121 from AlexeyRaga/PR-expose-read-configs
...
# Conflicts:
# stack.yaml
2018-03-13 22:45:18 +01:00
Lennart Spitzner
c0ea20455c
Fixup haddock typos
2018-03-13 22:38:27 +01:00
Lennart Spitzner
4b12115712
Merge branch 'master' into import
2018-03-12 19:47:20 +01:00
Lennart Spitzner
2128f7b3fb
Fixup stack.yaml
2018-03-12 18:28:10 +01:00
Lennart Spitzner
15d2250c0b
Change _lconfig_importColumn default: 60 -> 50
2018-03-12 17:21:28 +01:00
Lennart Spitzner
833ac95fd7
Add two config options to control preamble layouting
2018-03-12 17:11:25 +01:00
Lennart Spitzner
9531edb2a7
Improve module layouting in two aspects
...
- IEThingWith in export list can now be single-line
- Now respect offset of the "module" keyword
(retain empty lines after pragmas, for example)
2018-03-12 16:29:47 +01:00
Lennart Spitzner
20f9c009ee
Stop hanging indent for IEThingWith
...
plus minor refactors/cleanups
this is more in line with IndentPolicyLeft and imo also looks
nicer in general
2018-03-11 22:49:20 +01:00
Lennart Spitzner
af7f9017b8
Fix Alt-transformation bug with BDFEnsureIndents
...
multiple BDFEnsureIndent nodes were mistreated previously
2018-03-11 22:07:12 +01:00
Lennart Spitzner
41a60ce60f
Merge branch 'master' into import
2018-03-11 17:43:16 +01:00
alexeyraga
83b39de3d4
Expose readConfigs
2018-03-07 21:56:52 +11:00
Lennart Spitzner
e4dea87839
Switch to using branches master/release instead of dev/master
2018-03-04 19:11:10 +01:00
Lennart Spitzner
44af042436
Merge branch 'release'
2018-03-04 19:03:11 +01:00
Lennart Spitzner
19e31fdaf2
Improve layouting of RecordUpd, Fix minor issue for HsLet
2018-02-19 21:33:43 +01:00
Lennart Spitzner
c124336738
Fix NOINLINE pragma layouting
2018-02-19 17:17:39 +01:00
Lennart Spitzner
4dd28e5052
Merge pull request #120 from MaxGabriel/patch-1
...
Fix spelling of my name
2018-02-14 18:24:46 +01:00
Lennart Spitzner
34036cbb74
Merge branch 'dev'
2018-02-14 17:30:25 +01:00
Lennart Spitzner
bac69ba54f
Bump to 0.9.0.1, Add changelog
2018-02-14 17:18:22 +01:00
Lennart Spitzner
4b53072ccd
Correct some commandline help output
2018-02-14 17:18:15 +01:00
Maximilian Tagher
f17d9f8bf6
Fix spelling of my name
2018-02-14 06:54:39 -08:00
Lennart Spitzner
c28636adca
Add ghc-exactprint-0.5.6.0 to extra-deps in stack.yaml
2018-02-14 15:20:22 +01:00
Lennart Spitzner
c28ec4cfdf
Bump butcher version in stack-8.0.2.yaml
2018-02-14 14:42:26 +01:00
Lennart Spitzner
81928ea597
Switch to ghc-exactprint-0.5.6.0, Remove code duplication
2018-02-14 01:14:24 +01:00
Lennart Spitzner
55b1c71bf3
Fix a layouting mistake that went unnoticed so far
2018-02-14 01:00:01 +01:00
Lennart Spitzner
91de1ca08c
Fix bang deletion on ghc-8.2, Add testcase ( fixes #116 )
2018-02-13 23:48:00 +01:00
Lennart Spitzner
779a23c380
Update README.md: Conf file discovery description
2018-02-13 20:32:19 +01:00
Lennart Spitzner
d749c0da27
Prevent crash if ~/.config does not exist ( fixes #115 )
2018-02-13 20:06:31 +01:00
Lennart Spitzner
8430b74b1a
Switch to butcher-1.3, Improve help layout, fixes #103
2018-02-13 20:05:48 +01:00
Lennart Spitzner
70404a81f3
Merge branch 'master' into dev
2018-02-13 17:29:12 +01:00
Lennart Spitzner
43e79bb174
Merge pull request #107 from eborden/infix-constructor-pattern-match
...
Fix infix constructor pattern matching for normal constructors
2018-02-13 17:28:26 +01:00
Lennart Spitzner
077b93db01
Minor refactor
2018-02-09 16:50:57 +01:00
Evan Rutledge Borden
eb8f0de6c3
Remove redundant import.
2018-02-09 16:43:59 +01:00
Evan Rutledge Borden
019d47bf7e
Change infix patterns to include spaces
...
This commit changes infix patterns to utilize `lrdrNameToTextAnn`. This
function allows the logic to avoid introspecting on the constructor
name.
Additionally this adds spaces to all infix operator pattern matches.
Previously infix symbols did not include spaces:
```
foo (x:xs) = _
```
Now they include a space
```
foo (x : xs) = _
```
2018-02-09 16:43:44 +01:00