Skip to content

Commit

Permalink
Fix README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Stanislavciuc committed Apr 15, 2022
1 parent 20f29c4 commit de56931
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
.vscode/
target/
metals.sbt
.idea/
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ Instead you should modify the `tpolecatScalacOptions` key or the options key for

### Configuring the REPL

To filter out scala compiler options that don't work well in the REPL, use the `tpolecatConsoleOptionsFilter`.
To filter out scala compiler options that don't work well in the REPL, use the `tpolecatExcludeOptions`.

By default the plugin only applies this filter to the `console` task in the `Compile` and `Test` configurations.
By default, the plugin only applies this filter to the `console` task in the `Compile` and `Test` configurations.

For example, to apply this filter to the `console` task in the `IntegrationTest` configuration you can do the following:

```scala
IntegrationTest / console / tpolecatScalacOptions ~= tpolecatConsoleOptionsFilter
IntegrationTest / console / tpolecatExcludeOptions ++= ScalacOptions.defaultConsoleExclude
```

### Modes
Expand Down

0 comments on commit de56931

Please sign in to comment.