Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename eval.wrap to eval.container #167

Merged
merged 3 commits into from
Feb 21, 2024
Merged

rename eval.wrap to eval.container #167

merged 3 commits into from
Feb 21, 2024

Conversation

jaspervdj
Copy link
Owner

wrap is used at the top-level of settings for wrapping at a certain column, and inside eval to determine the type in which the result is "wrapped". Using the same name for both is confusing, so this adds eval.container as the new name for eval.wrap. eval.wrap will continue to be supported for the forseeable future, but its use will be discouraged.

This also changes the values (again keeping the original ones for backwards-compat), so the complete changes to a configuration would be:

  • wrap: code -> container: code
  • wrap: raw -> container: none
  • wrap: rawInline -> container: inline

`wrap` is used at the top-level of settings for wrapping at a certain column,
and inside `eval` to determine the type in which the result is "wrapped".
Using the same name for both is confusing, so this adds `eval.container` as the
new name for `eval.wrap`.  `eval.wrap` will continue to be supported for the
forseeable future, but its use will be discouraged.
@jaspervdj jaspervdj merged commit 128af78 into main Feb 21, 2024
10 checks passed
@jaspervdj jaspervdj deleted the eval-wrap-container branch February 21, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant