|
16 | 16 | [definition for aligned function calls](https://styler.r-lib.org/articles/detect-alignment.html)
|
17 | 17 | (#537).
|
18 | 18 |
|
19 |
| -* curlyl-curly (`{{`) syntactic sugar introduced with rlang 0.4.0 is now |
| 19 | +* curly-curly (`{{`) syntactic sugar introduced with rlang 0.4.0 is now |
20 | 20 | explicitly handled, as opposed previously where it was just treated as two
|
21 |
| - consequtive curly braces (#528). |
| 21 | + consecutive curly braces (#528). |
22 | 22 |
|
23 | 23 | * `style_pkg()`, `style_dir()` and the Addins can now style `.Rprofile`, and
|
24 | 24 | hidden files are now also styled (#530).
|
25 | 25 |
|
26 | 26 | ## Minor improvements and fixes
|
27 | 27 |
|
28 |
| -* brace expressions in function calls are formatted in a less compact way. This |
29 |
| - improves the formatting of `tryCatch()` in many cases (#543). |
30 |
| - |
31 |
| -* escape characters in roxygen code examples are now correctly escaped (#512). |
| 28 | +* Brace expressions in function calls are formatted in a less compact way to |
| 29 | + improve readability. Typical use case: `tryCatch()` (#543). |
32 | 30 |
|
33 |
| -* style selection Addin now preserves line break when the last line selected is |
| 31 | +* Arguments in function declarations in a context which is indented multiple |
| 32 | + times should now be correct. This typically affects `R6::R6Class()` (#546). |
| 33 | + |
| 34 | +* Escape characters in roxygen code examples are now correctly escaped (#512). |
| 35 | + |
| 36 | +* Style selection Addin now preserves line break when the last line selected is |
34 | 37 | an entire line (#520).
|
35 | 38 |
|
36 |
| -* style file Addin can now properly handle cancelling (#511). |
| 39 | +* Style file Addin can now properly handle cancelling (#511). |
37 | 40 |
|
38 | 41 | * The body of a multi-line function declaration is now indented correctly for
|
39 | 42 | `strict = FALSE` and also wrapped in curly braces for `strict = TRUE` (#536).
|
40 | 43 |
|
41 |
| -* advice for contributors in `CONTRIBUTING.md` was updated (#508). |
| 44 | +* Advice for contributors in `CONTRIBUTING.md` was updated (#508). |
42 | 45 |
|
43 | 46 | ## Adaption
|
44 | 47 |
|
|
0 commit comments