Commit Graph

112 Commits

Author SHA1 Message Date
David Alber
ee9bdeed7d Fixing imports_layout="HorizontalVertical" snippet 2018-01-16 08:12:32 -08:00
David Alber
e49314fccc Fixing imports_layout="Mixed" snippet 2018-01-16 08:12:32 -08:00
David Alber
c92a3b4066 Fixing imports_indent="Block" snippet 2018-01-16 08:12:32 -08:00
David Alber
167ed92a24 Fixing imports_indent="Visual" snippet 2018-01-16 08:12:32 -08:00
David Alber
df9cbb92bd Fixing format_strings=true snippet 2018-01-16 08:12:31 -08:00
David Alber
30f89c3063 Fixing format_strings=false snippet 2018-01-16 08:12:31 -08:00
David Alber
ed90b2232f Fixing where_single_line=true snippet 2018-01-16 08:12:31 -08:00
David Alber
76947a68d3 Fixing where_single_line=false snippet 2018-01-16 08:12:31 -08:00
David Alber
45deeee80f Fixing brace_style="PreferSameLine" structs and enums snippet 2018-01-16 08:12:31 -08:00
David Alber
034bd7a88e Fixing brace_style="AlwaysNextLine" structs and enums snippet 2018-01-16 08:12:31 -08:00
David Alber
4db479f637 Fixing brace_style="SameLineWhere" structs and enums snippet 2018-01-16 08:12:31 -08:00
David Alber
514adeb156 Getting fn_args_density="Vertical" snippet to pass 2018-01-16 08:12:31 -08:00
David Alber
7e7370756c Wrapping control_brace_style="ClosingNextLine" snippet in function 2018-01-16 08:12:31 -08:00
David Alber
ba7f3ab718 Wrapping control_brace_style="AlwaysNextLine" snippet in function 2018-01-16 08:12:31 -08:00
David Alber
d49e22a2b8 Wrapping control_brace_style="AlwaysSameLine" snippet in function 2018-01-16 08:12:31 -08:00
David Alber
368a44b564 Wrapping condense_wildcard_suffixes=true snippet in function 2018-01-16 08:12:31 -08:00
David Alber
c08c706f55 Wrapping condense_wildcard_suffixes=false snippet in function 2018-01-16 08:12:31 -08:00
David Alber
8b010c30fc Getting binop_separator="Front" snippet to pass 2018-01-16 08:12:31 -08:00
David Alber
b23204fc54 Correcting use_small_heuristics=true snippet 2018-01-16 08:12:31 -08:00
David Alber
3a7eb68db9 Correcting indent_style="Block" where predicate snippet 2018-01-16 08:12:31 -08:00
David Alber
e2ffee7cf8 Wrapping indent_style="Visual" struct snippet in function 2018-01-16 08:12:31 -08:00
David Alber
c6a18143a8 Wrapping indent_style="Block" struct snippet in function 2018-01-16 08:12:31 -08:00
David Alber
b56d88f751 Correcting indent_style="Visual" generics snippet 2018-01-16 08:12:31 -08:00
David Alber
2455d60718 Correcting indent_style="Block" generics snippet 2018-01-16 08:12:31 -08:00
David Alber
5180df4988 Wrapping indent_style="Visual" function call snippet in function 2018-01-16 08:12:31 -08:00
David Alber
9fc00aa794 Wrapping indent_style="Block" function call snippet in function 2018-01-16 08:12:31 -08:00
David Alber
48d7fb2db0 Wrapping indent_style="Visual" array snippet in function 2018-01-16 08:12:31 -08:00
David Alber
5673c0fdbf Wrapping indent_style="Block" array snippet in function 2018-01-16 08:12:31 -08:00
Seiichi Uchida
c87bd9e92e
Merge pull request #2367 from Stinners/range_binopts
Fixing binop_separator="Back" for ranges (Issue #2364)
2018-01-16 17:52:09 +09:00
David Alber
790611cd82 Restoring characters accidentally removed in bbe4b380 2018-01-15 20:57:28 -08:00
Chris Stinson
4c4e079613 Fixing binop_separator="Back" for ranges
Hardcoded Separator::Place=Front in call to rewrite_pair for range
caused binop_separator="Back" to be hendled incorrectly

Fixed rewrite_pair call and the example in Configuration.md showing
the faulty behaviour
2018-01-16 17:50:20 +13:00
Nick Cameron
13a0bb9158
Merge pull request #2361 from davidalber/fix-binop-separator-back-snippet
Getting `binop_separator="Back"` snippet in Configurations.md to pass
2018-01-16 13:01:02 +13:00
David Alber
bbe4b380c3 Getting binop_separator="Back" to pass 2018-01-15 10:47:35 -08:00
David Alber
49f418b838 Rewording configuration note 2018-01-15 01:41:11 -08:00
Seiichi Uchida
279acda4c4 Remove same_line_attributes config option 2018-01-11 16:52:28 +09:00
David Alber
85ccb98469 Adding test to verify code block idempotency in Configurations.md 2018-01-04 00:01:18 -08:00
Lukas Kalbertodt
5de87bdbc0 Add options blank_lines_{lower|upper}_bound to Configurations.md 2018-01-02 21:54:58 +01:00
Christopher Durham
dcd6ed7d5e Remove reference to env var
The check was moved to compile time and was not intended to be user-facing
2017-12-16 21:05:24 -05:00
Christopher Durham
e18401ca01 Remove chain_indent 2017-12-16 21:03:51 -05:00
Christopher Durham
9ac1e6d978 Add configuration stability information 2017-12-16 21:03:51 -05:00
Clément Delafargue
3be1cb64a8
Fix format for spaces_around_ranges example 2017-12-06 11:19:23 +01:00
Kevin Choubacha
60e8af59a0 Combine 3 repeated sections into a single section 2017-12-02 15:23:07 -08:00
Deepak Thukral
188acd9ffc docs: fixes incorrect output 2017-11-30 14:48:29 +01:00
Deepak Thukral
73afe562f1 docs: Adds where_single_line in configuration documentation 2017-11-30 13:01:41 +01:00
Nick Cameron
f0af1d4818 Remove CompressedIfEmpty option from fn_args_density
It was identical to Tall
2017-11-27 17:49:55 +13:00
Nick Cameron
677446e99d Merge fn_empty_single_line and impl_empty_single_line into empty_item_single_line 2017-11-27 17:46:09 +13:00
Nick Cameron
9a33255834 Rename wrap_match_arms to match_arm_blocks 2017-11-27 17:35:27 +13:00
Nick Cameron
8f4d85a9d7 Merge multiline_closure_forces_block and multiline_match_arm_forces_block into force_multiline_block 2017-11-27 17:03:54 +13:00
Nick Cameron
087f8b5854 Remove match_arm_forces_newline 2017-11-27 16:31:49 +13:00
Nick Cameron
0e1fa2c244 Remove indent_match_arms 2017-11-27 15:49:14 +13:00