Commit Graph

103 Commits

Author SHA1 Message Date
Chad Stearns
eb65090340 Merging in remote, and also added greater then char to what to look out for before negation symbol 2020-02-15 19:48:30 -05:00
Chad Stearns
d19866ba59 accessor function formatting 2020-02-11 23:03:46 -05:00
Chad Stearns
6dd6ca0fca cleaned up code 2020-02-08 19:50:27 -05:00
Chad Stearns
0b1afb7c45 unary and binary formatting 2020-02-08 19:25:07 -05:00
Chad Stearns
7f7e6c4886 When guard test 2020-01-26 23:45:11 -05:00
Richard Feldman
5e26ca7264 Reorganize builtin constants 2020-01-21 21:32:55 -05:00
Chad Stearns
bc38405826 Multiline list and record def 2020-01-20 23:05:34 -05:00
Stoeffel
5ec701efff simplify ignore spaces 2020-01-15 20:43:16 +01:00
Stoeffel
5a8ebcf93a check if branches are indented correctly 2020-01-15 10:12:56 +01:00
Stoeffel
b53804af8f format multiline alternatives in when branches 2020-01-14 16:34:05 +01:00
Richard Feldman
6763f2500f
Merge branch 'trunk' into list-comment-formatting 2020-01-13 23:28:20 -05:00
Chad Stearns
2a22dcea36 One more test 2020-01-13 20:01:30 -05:00
Chad Stearns
27cf9eb979 Multiline list comments, and some more multiline list tests 2020-01-13 19:59:00 -05:00
Stoeffel
f63d7e4512 group tests 2020-01-13 09:49:27 +01:00
Stoeffel
a2df012346 add test for nested alternatives 2020-01-13 09:28:15 +01:00
Richard Feldman
a4e238b09c Merge remote-tracking branch 'origin/trunk' into case-multi-patterns 2020-01-11 13:10:09 -05:00
Stoeffel
8170d51e4e parse space around patterns not just before
separaters shouldn't eat spaces, because they might get lost this way.
2020-01-09 17:50:54 +01:00
Stoeffel
8809082f11 zero or more spaces not one
We should allow writing `Foo|Bar`
2020-01-09 17:47:12 +01:00
Stoeffel
4ac5d11e62 format cases 2020-01-09 17:35:16 +01:00
Chad Stearns
99c3848b1e Removing merge conflict text 2020-01-09 00:46:48 -05:00
Chad Stearns
f472ba53b7 Merging in remote 2020-01-09 00:36:31 -05:00
Chadtech
dd525d3a13
Merge branch 'trunk' into cohere-comment-formatting 2020-01-09 00:35:32 -05:00
Chad Stearns
338ed1fcf3 Uncommented some tests, cleaned up some code 2020-01-09 00:31:50 -05:00
Richard Feldman
99b6314af4 Reproduce nested applied tag bug 2020-01-08 22:18:25 -05:00
Richard Feldman
ff48cc66e2 Reproduce applied tag destructuring bug 2020-01-08 22:15:36 -05:00
Chadtech
56f12ed8f9
Merge branch 'trunk' into multi-line-list-and-record-def 2020-01-07 07:34:24 -05:00
Chad Stearns
81f4f232f7 All if comment test cases work 2020-01-06 03:06:23 -05:00
Chad Stearns
a2566d85ff Remove new lines after comment appears, and remove new line before else case 2020-01-06 00:27:28 -05:00
Chad Stearns
79d94eee6d Multi line def tests that are not working 2020-01-05 17:08:46 -05:00
Chad Stearns
562f430eef Cargo fmt 2020-01-05 16:35:34 -05:00
Chad Stearns
b3bce7b0c4 Record updating format 2020-01-05 16:34:34 -05:00
Chad Stearns
4e903c969a Chaned indent on a few tests 2020-01-04 17:54:58 -05:00
Chad Stearns
7a70160d64 Multi line lists 2020-01-04 17:40:58 -05:00
Chadtech
212523fa08
Merge branch 'trunk' into ct/multi-line-if-condition-1 2020-01-01 04:04:14 -05:00
Richard Feldman
56df170be6 Reproduce parsing failure on [ ] 2019-12-31 20:20:58 -05:00
Chad Stearns
b6086a0b0f List formatting basics 2019-12-31 02:44:51 -05:00
Chad Stearns
9ebf931577 multi-line if condition formatting and some new commented out tests 2019-12-31 01:25:51 -05:00
Richard Feldman
34e039bef6
Merge branch 'trunk' into ct/multi-line-if-condition 2019-12-23 23:52:01 -08:00
Chad Stearns
844ca0a50e Changed instances of 'Case' in the code to 'When' 2019-12-23 17:41:19 -05:00
Chad Stearns
62a004c103 Case is to when is 2019-12-23 17:17:04 -05:00
Chad Stearns
9a5b6a03b4 case when to case is 2019-12-23 17:08:53 -05:00
Chad Stearns
239a275bf6 Commented out more tests 2019-12-23 12:45:17 -05:00
Chad Stearns
954f6f7d7e Commented out test for newline and comment formatting in if statements 2019-12-23 12:40:41 -05:00
Chad Stearns
141ad1757b Added test for case with many lines 2019-12-21 13:48:44 -05:00
Chad Stearns
68236aa10b Combine format_newlines_after and format_newlines_before into just format_newlines 2019-12-21 13:32:14 -05:00
Chad Stearns
48a9d898fc Handle excessive newlines below then and else cases 2019-12-21 13:28:34 -05:00
Chad Stearns
858764ac27 Format changes 2019-12-21 02:11:14 -05:00
Chad Stearns
d6186f38ed cargo fmt and clippy 2019-12-20 16:16:45 -05:00
Chad Stearns
32a6afb817 Multi-line if statement 2019-12-20 16:04:09 -05:00
Richard Feldman
d0fa8bf857 Use commas between function arguments 2019-12-18 21:50:45 -05:00