Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinlovelace authored Apr 29, 2024
1 parent 9b30018 commit b5070f0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,15 @@ options(languageserver.formatting_style = function(options) {
})
```

You can use other style packages building on `styler`, e.g. as follows, which styles according to the [`styler.equals`](https://github.com/Robinlovelace/styler.equals) package:

```r
options(languageserver.formatting_style = function(options) {
styler.equals::equals_style(scope = "indention", indent_by = options$tabSize)
})
```


To disable assignment operator fix (replacing `=` with `<-`):

```r
Expand Down

0 comments on commit b5070f0

Please sign in to comment.