-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Config-style: control over forcing vs optimization
Currently, the `runner.optimizer` parameters always force config-style formatting when `newlines.configStyle.xxxSite.prefer` is true, even though they were intended primarily to affect the route search. On the other hand, there could be cases when a user wouldn't enable the `newlines.configStyle.xxxSite.prefer` flag for regular operation (for instance, it makes no sense for `newlines.source=fold/unfold`) but would still be interested in forcing config-style. Therefore, let's add the sibling `xxxSite.forceConfigStyleIfOptimized` flag to decide when to force.
- Loading branch information
Showing
3 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters